MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / API_ROUTINE gds__prefix

Function API_ROUTINE gds__prefix

src/yvalve/gds.cpp:1868–1886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1866
1867
1868void API_ROUTINE gds__prefix(TEXT* resultString, const TEXT* file)
1869{
1870/**************************************
1871 *
1872 * g d s _ $ p r e f i x
1873 *
1874 **************************************
1875 *
1876 * Functional description
1877 * Find appropriate file prefix.
1878 *
1879 **************************************/
1880 resultString[0] = 0;
1881
1882 GDS_init_prefix();
1883
1884 strcpy(resultString, fb_prefix); // safe - no BO
1885 iscSafeConcatPath(resultString, file);
1886}
1887
1888
1889void API_ROUTINE gds__prefix_lock(TEXT* string, const TEXT* root)

Callers

nothing calls this directly

Calls 2

GDS_init_prefixFunction · 0.85
iscSafeConcatPathFunction · 0.85

Tested by

no test coverage detected