mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
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
This commit is contained in:
parent
e4cd1ffed1
commit
01114f6efd
4 changed files with 53 additions and 49 deletions
|
|
@ -30,6 +30,9 @@
|
|||
struct fileinfo {
|
||||
struct curl_fileinfo info;
|
||||
struct Curl_llist_element list;
|
||||
char *mem;
|
||||
size_t size;
|
||||
size_t used;
|
||||
};
|
||||
|
||||
struct fileinfo *Curl_fileinfo_alloc(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue