Lines Matching defs:servers
795 * Retrieve a list of ldap servers from the config module.
799 * OUTPUT: servers, error
803 char *** servers,
816 *servers = NULL;
859 *servers = (char **)paramVal;
862 /* Sort servers based on network. */
863 if (*servers) {
864 netservers = sortServerNet(*servers);
866 free(*servers);
867 *servers = netservers;
873 /* Get preferred server list and sort servers based on that. */
876 if (*servers)
877 __s_api_free2dArray(*servers);
878 *servers = NULL;
888 if (*servers)
889 __s_api_free2dArray(*servers);
890 *servers = NULL;
900 sortServers = sortServerPref(*servers,
904 sortServers = sortServerPref(*servers,
908 if (*servers)
909 free(*servers);
910 *servers = NULL;
913 *servers = sortServers;
915 if (*servers)
916 __s_api_free2dArray(*servers);
917 *servers = NULL;
926 if (*servers == NULL) {
965 /* Count the number of servers to sort. */
972 /* Make room for the returned list of servers. */
982 /* Make a temporary list of servers. */
992 /* Filter servers on the same subnet */
1002 /* Filter remaining servers. */
1032 * If version 1, if flag is TRUE, find all the servers in both preflist
1033 * and srvlist, then append other servers in srvlist to this list
1038 * If version 2, append all the servers in srvlist
1053 /* Count the number of servers to sort. */
1064 /* Count the number of preferred servers */
1075 /* Make room for the returned list of servers */
1106 /* Make room for the servers whose memory needs to be freed */
1116 * throw out preferred servers not on server list.
1142 * if PREF_ONLY is false, we append the non-preferred servers
1166 /* free memory for duplicate servers */
1179 * problem servers as down, so that the server is
1198 "not remove %s from servers list", *host);