Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

Application Name List Example

The following sample function displays all APP_NAME_LIST strings that exist in a server's configuration file:

void DisplayAppNameList(void)


TEXT buffer[MAX_NAME + 1];

NINT count = 0;

if (GetSymbolicNames(-1, buffer, sizeof(buffer), FIRST_ITEM))

printf("No APP_NAME_LIST present.\n");

else do {

printf("%d: %s\n", (count+1), buffer);


} while (!GetSymbolicNames(-1, buffer, sizeof(buffer), NEXT_ITEM));