summaryrefslogtreecommitdiff
path: root/lib/wildcard.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-04-20 10:29:44 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-04-23 22:52:48 +0200
commit98a768f0a6d23e6d3e209fc543d60e260dbcc46b (patch)
treefe2e8ff340dbea8b8db9f75a007c13ed3fc4e3f9 /lib/wildcard.h
parent5e5725a47651b4398789b59074aef09bdc735869 (diff)
downloadgnurl-98a768f0a6d23e6d3e209fc543d60e260dbcc46b.tar.gz
gnurl-98a768f0a6d23e6d3e209fc543d60e260dbcc46b.tar.bz2
gnurl-98a768f0a6d23e6d3e209fc543d60e260dbcc46b.zip
ftplistparser: renamed some members and variables
... to make them better spell out what they're for.
Diffstat (limited to 'lib/wildcard.h')
-rw-r--r--lib/wildcard.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/wildcard.h b/lib/wildcard.h
index 8a5e4b769..b7826123a 100644
--- a/lib/wildcard.h
+++ b/lib/wildcard.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2010 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 2010 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -40,7 +40,7 @@ typedef enum {
will end */
} curl_wildcard_states;
-typedef void (*curl_wildcard_tmp_dtor)(void *ptr);
+typedef void (*curl_wildcard_dtor)(void *ptr);
/* struct keeping information about wildcard download process */
struct WildcardData {
@@ -48,8 +48,8 @@ struct WildcardData {
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 *tmp; /* pointer to protocol specific temporary data */
- curl_wildcard_tmp_dtor tmp_dtor;
+ void *protdata; /* pointer to protocol specific temporary data */
+ curl_wildcard_dtor dtor;
void *customptr; /* for CURLOPT_CHUNK_DATA pointer */
};