Get a list of available pools for a server
char *Ns_DbPoolList( char *hServer );
The Ns_DbPoolList function returns a list of pools available on the specified virtual server. Upon completion, the returned pointer points to a list of pools in the following format:
"pool1\0pool2\0pool3\0\0"
char *pools; pools = Ns_DbPoolList("serverName"); while (*pools != '\0') { printf("%s\n", pools); pools += strlen(pools) + 1; }