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:
Daniel Stenberg 2023-03-27 10:48:44 +02:00
parent e4cd1ffed1
commit 01114f6efd
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 53 additions and 49 deletions

View file

@ -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);