[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_DbPoolList

Overview

Get a list of available pools for a server

Syntax

    char *Ns_DbPoolList(
    	char *hServer
    );

Description

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"

Example

    char *pools;
    pools = Ns_DbPoolList("serverName");
    while (*pools != '\0') {
       printf("%s\n", pools);
       pools += strlen(pools) + 1;
    }

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.