file: use easy handle meta for protocol struct

Closes #17292
This commit is contained in:
Stefan Eissing 2025-05-08 11:01:24 +02:00 committed by Daniel Stenberg
parent 1c6fc0cd2b
commit 27bc798369
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 46 additions and 39 deletions

View file

@ -24,17 +24,6 @@
*
***************************************************************************/
/****************************************************************************
* FILE unique setup
***************************************************************************/
struct FILEPROTO {
char *path; /* the path we operate on */
char *freepath; /* pointer to the allocated block we must free, this might
differ from the 'path' pointer */
int fd; /* open file descriptor to read from! */
};
#ifndef CURL_DISABLE_FILE
extern const struct Curl_handler Curl_handler_file;
#endif