Lines Matching +defs:str +defs:list
29 and each group has a failover list of wins servers.
44 it tries registering with the first one mentioned in the list, then
63 /* The list of dead wins servers is stored in gencache.tdb. Each server is
65 separate dead list for each src address to cope with multiple interfaces
95 see if an ip is on the dead list
154 const char **list;
162 list = lp_wins_server_list();
163 for (count=0; list && list[count]; count++)
182 static void parse_ip(struct tagged_ip *ip, const char *str)
184 char *s = strchr(str, ':');
187 ip->ip = *interpret_addr2(str);
192 fstrcpy(ip->tag, str);
200 return the list of wins server tags. A 'tag' is used to distinguish
203 list one or more wins server per interface and use the interface
210 const char **list;
222 list = lp_wins_server_list();
223 if (!list)
227 for (i=0;list[i];i++) {
230 parse_ip(&t_ip, list[i]);
244 /* add it to the list */
259 /* free a list of wins server tags given by wins_srv_tags */
260 void wins_srv_tags_free(char **list)
263 if (!list) return;
264 for (i=0; list[i]; i++) {
265 free(list[i]);
267 free(list);
277 const char **list;
287 list = lp_wins_server_list();
288 if (!list || !list[0]) {
295 for (i=0; list[i]; i++) {
296 parse_ip(&t_ip, list[i]);
313 for (i=0; list[i]; i++) {
314 parse_ip(&t_ip, list[i]);
333 const char **list;
341 list = lp_wins_server_list();
342 if (!list || !list[0]) {
347 for (i=0; list[i]; i++) {
349 parse_ip(&t_ip, list[i]);