|   | ![[ Previous ]](navbprev.gif)  ![[ Contents ]](navbhome.gif)  ![[ Index ]](navbhelp.gif)  ![[ Next ]](navbnext.gif)  | 
    char *Ns_DbPoolList(
    char *hServer
    );
The Ns_DbPoolList function returns a list of pools available on the specified 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;
    }