Lines Matching defs:clist
43 static void SetCaptivesList(int scrnum, char **clist);
44 static void freeCaptivesList(char **clist);
251 freeCaptivesList(char **clist)
253 if(clist == NULL) {
257 for(char **tmp = clist ; *tmp != NULL ; tmp++) {
261 free(clist);
270 SetCaptivesList(int scrnum, char **clist)
277 cl = clist;
287 cl = clist;
311 char **clist, **cl, **newclist;
326 clist = GetCaptivesList(scrnum);
327 cl = clist;
396 newclist[i] = strdup(clist[i]);
401 freeCaptivesList(clist);
427 char **clist;
437 clist = GetCaptivesList(scrnum);
438 if(clist && *clist) {
439 char **cl = clist;
457 freeCaptivesList(clist);
467 * sticking a pointer to the existing string inside clist. Then
471 * and then when we fCL(clist) it would try to double-free them.
474 cl = clist;
488 freeCaptivesList(clist);