Lines Matching +full:- +full:wc
8 * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
41 CURLcode Curl_wildcard_init(struct WildcardData *wc) in Curl_wildcard_init() argument
43 Curl_llist_init(&wc->filelist, fileinfo_dtor); in Curl_wildcard_init()
44 wc->state = CURLWC_INIT; in Curl_wildcard_init()
49 void Curl_wildcard_dtor(struct WildcardData *wc) in Curl_wildcard_dtor() argument
51 if(!wc) in Curl_wildcard_dtor()
54 if(wc->dtor) { in Curl_wildcard_dtor()
55 wc->dtor(wc->protdata); in Curl_wildcard_dtor()
56 wc->dtor = ZERO_NULL; in Curl_wildcard_dtor()
57 wc->protdata = NULL; in Curl_wildcard_dtor()
59 DEBUGASSERT(wc->protdata == NULL); in Curl_wildcard_dtor()
61 Curl_llist_destroy(&wc->filelist, NULL); in Curl_wildcard_dtor()
64 free(wc->path); in Curl_wildcard_dtor()
65 wc->path = NULL; in Curl_wildcard_dtor()
66 free(wc->pattern); in Curl_wildcard_dtor()
67 wc->pattern = NULL; in Curl_wildcard_dtor()
69 wc->customptr = NULL; in Curl_wildcard_dtor()
70 wc->state = CURLWC_INIT; in Curl_wildcard_dtor()