diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-03-27 10:48:44 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-03-28 10:11:33 +0200 |
commit | 01114f6efda64b9ce3492ed7c7964359de70efe5 (patch) | |
tree | e4201962cbeff60aef869ed37e358ffabebde458 /include | |
parent | e4cd1ffed155ca912a156f1fff24ea4473ccda95 (diff) | |
download | curl-01114f6efda64b9ce3492ed7c7964359de70efe5.tar.gz |
ftplistparser: move out private data from public struct
The public 'curl_fileinfo' struct contained three fields that are for
internal purposes only. This change makes them unused in the public
struct.
The new private struct fields are also renamed to make this separation
more obvious internally.
Closes #10844
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 63a13823e..a4872bd47 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -331,7 +331,8 @@ struct curl_fileinfo { unsigned int flags; - /* used internally */ + /* These are libcurl private struct fields. Previously used by libcurl, so + they must never be interfered with. */ char *b_data; size_t b_size; size_t b_used; |