Lines Matching refs:srvs
1032 char **srvs;
1050 srvs = calloc(smb_ads_cache_host_list->ah_cnt + 1, sizeof (char *));
1051 if (srvs == NULL) {
1057 srvs[i] = strdup(smb_ads_cache_host_list->ah_list[i].name);
1058 if (srvs[i] == NULL)
1066 free(srvs);
1070 return (srvs);
1074 smb_ads_free_servers(char **srvs)
1078 if (srvs == NULL)
1081 for (i = 0; srvs[i] != NULL; i++)
1082 free(srvs[i]);
1084 free(srvs);