MCPcopy Create free account
hub / github.com/MariaDB/server / GetPrivateProfileSectionNames

Function GetPrivateProfileSectionNames

storage/connect/inihandl.cpp:1342–1357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1340 */
1341#ifdef TEST_MODULE
1342static DWORD
1343GetPrivateProfileSectionNames(LPSTR buffer, DWORD size, LPCSTR filename)
1344{
1345 DWORD ret = 0;
1346
1347 if (trace(2))
1348 htrc("GPPSN: filename=%s\n", filename);
1349
1350 EnterCriticalSection(&PROFILE_CritSect);
1351
1352 if (PROFILE_Open(filename))
1353 ret = PROFILE_GetSectionNames(buffer, size);
1354
1355 LeaveCriticalSection(&PROFILE_CritSect);
1356 return ret;
1357} // end of GetPrivateProfileSectionNames
1358
1359
1360/************************************************************************

Callers 2

GetSeclistMethod · 0.85
mainFunction · 0.85

Calls 3

PROFILE_OpenFunction · 0.85
PROFILE_GetSectionNamesFunction · 0.85
htrcFunction · 0.70

Tested by

no test coverage detected