Lines Matching refs:wc
39 CURLcode Curl_wildcard_init(struct WildcardData *wc) in Curl_wildcard_init() argument
41 Curl_llist_init(&wc->filelist, fileinfo_dtor); in Curl_wildcard_init()
42 wc->state = CURLWC_INIT; in Curl_wildcard_init()
47 void Curl_wildcard_dtor(struct WildcardData *wc) in Curl_wildcard_dtor() argument
49 if(!wc) in Curl_wildcard_dtor()
52 if(wc->dtor) { in Curl_wildcard_dtor()
53 wc->dtor(wc->protdata); in Curl_wildcard_dtor()
54 wc->dtor = ZERO_NULL; in Curl_wildcard_dtor()
55 wc->protdata = NULL; in Curl_wildcard_dtor()
57 DEBUGASSERT(wc->protdata == NULL); in Curl_wildcard_dtor()
59 Curl_llist_destroy(&wc->filelist, NULL); in Curl_wildcard_dtor()
62 free(wc->path); in Curl_wildcard_dtor()
63 wc->path = NULL; in Curl_wildcard_dtor()
64 free(wc->pattern); in Curl_wildcard_dtor()
65 wc->pattern = NULL; in Curl_wildcard_dtor()
67 wc->customptr = NULL; in Curl_wildcard_dtor()
68 wc->state = CURLWC_INIT; in Curl_wildcard_dtor()