1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

wildcard: strip "curl_" prefix from private symbols

Closes #5906
This commit is contained in:
Daniel Stenberg 2020-09-02 12:39:42 +02:00
parent 3acb2abdf5
commit c26446ff5e
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -39,18 +39,18 @@ typedef enum {
CURLWC_ERROR, /* error cases */
CURLWC_DONE /* if is wildcard->state == CURLWC_DONE wildcard loop
will end */
} curl_wildcard_states;
} wildcard_states;
typedef void (*curl_wildcard_dtor)(void *ptr);
typedef void (*wildcard_dtor)(void *ptr);
/* struct keeping information about wildcard download process */
struct WildcardData {
curl_wildcard_states state;
wildcard_states state;
char *path; /* path to the directory, where we trying wildcard-match */
char *pattern; /* wildcard pattern */
struct Curl_llist filelist; /* llist with struct Curl_fileinfo */
void *protdata; /* pointer to protocol specific temporary data */
curl_wildcard_dtor dtor;
wildcard_dtor dtor;
void *customptr; /* for CURLOPT_CHUNK_DATA pointer */
};