MCPcopy Create free account
hub / github.com/apache/cloudberry / ini_sget

Function ini_sget

gpcontrib/gpcloud/lib/ini.cpp:362–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362int ini_sget(
363 ini_t *ini, const char *section, const char *value,
364 const char *scanfmt, void *dst
365) {
366 const char *val = ini_get(ini, section, value);
367 if (!val) {
368 return 0;
369 }
370 if (scanfmt) {
371 sscanf(val, scanfmt, dst);
372 } else {
373 *((const char**) dst) = val;
374 }
375 return 1;
376}

Callers 1

ScanMethod · 0.85

Calls 1

ini_getFunction · 0.85

Tested by

no test coverage detected