Lines Matching refs:wc
187 CURLcode Curl_wildcard_init(struct WildcardData *wc) in Curl_wildcard_init() argument
189 Curl_llist_init(&wc->filelist, fileinfo_dtor); in Curl_wildcard_init()
190 wc->state = CURLWC_INIT; in Curl_wildcard_init()
197 struct WildcardData *wc = *wcp; in Curl_wildcard_dtor() local
198 if(!wc) in Curl_wildcard_dtor()
201 if(wc->dtor) { in Curl_wildcard_dtor()
202 wc->dtor(wc->ftpwc); in Curl_wildcard_dtor()
203 wc->dtor = ZERO_NULL; in Curl_wildcard_dtor()
204 wc->ftpwc = NULL; in Curl_wildcard_dtor()
206 DEBUGASSERT(wc->ftpwc == NULL); in Curl_wildcard_dtor()
208 Curl_llist_destroy(&wc->filelist, NULL); in Curl_wildcard_dtor()
209 free(wc->path); in Curl_wildcard_dtor()
210 wc->path = NULL; in Curl_wildcard_dtor()
211 free(wc->pattern); in Curl_wildcard_dtor()
212 wc->pattern = NULL; in Curl_wildcard_dtor()
213 wc->state = CURLWC_INIT; in Curl_wildcard_dtor()
214 free(wc); in Curl_wildcard_dtor()
311 struct WildcardData *wc = data->wildcard; in ftp_pl_insert_finfo() local
312 struct ftp_wc *ftpwc = wc->ftpwc; in ftp_pl_insert_finfo()
313 struct Curl_llist *llist = &wc->filelist; in ftp_pl_insert_finfo()
338 if(compare(data->set.fnmatch_data, wc->pattern, in ftp_pl_insert_finfo()