diff options
author | deshevoy <deshevoy@yandex-team.ru> | 2022-02-10 16:46:56 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:56 +0300 |
commit | e988f30484abe5fdeedcc7a5d3c226c01a21800c (patch) | |
tree | 0a217b173aabb57b7e51f8a169989b1a3e0309fe /contrib/libs/curl/lib/content_encoding.h | |
parent | 33ee501c05d3f24036ae89766a858930ae66c548 (diff) | |
download | ydb-e988f30484abe5fdeedcc7a5d3c226c01a21800c.tar.gz |
Restoring authorship annotation for <deshevoy@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/curl/lib/content_encoding.h')
-rw-r--r-- | contrib/libs/curl/lib/content_encoding.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/contrib/libs/curl/lib/content_encoding.h b/contrib/libs/curl/lib/content_encoding.h index 70310875a0..5805f16839 100644 --- a/contrib/libs/curl/lib/content_encoding.h +++ b/contrib/libs/curl/lib/content_encoding.h @@ -26,30 +26,30 @@ struct contenc_writer { const struct content_encoding *handler; /* Encoding handler. */ struct contenc_writer *downstream; /* Downstream writer. */ - void *params; /* Encoding-specific storage (variable length). */ -}; + void *params; /* Encoding-specific storage (variable length). */ +}; -/* Content encoding writer. */ +/* Content encoding writer. */ struct content_encoding { - const char *name; /* Encoding name. */ - const char *alias; /* Encoding name alias. */ + const char *name; /* Encoding name. */ + const char *alias; /* Encoding name alias. */ CURLcode (*init_writer)(struct connectdata *conn, struct contenc_writer *writer); CURLcode (*unencode_write)(struct connectdata *conn, struct contenc_writer *writer, - const char *buf, size_t nbytes); + const char *buf, size_t nbytes); void (*close_writer)(struct connectdata *conn, struct contenc_writer *writer); - size_t paramsize; -}; + size_t paramsize; +}; -CURLcode Curl_build_unencoding_stack(struct connectdata *conn, - const char *enclist, int maybechunked); +CURLcode Curl_build_unencoding_stack(struct connectdata *conn, + const char *enclist, int maybechunked); CURLcode Curl_unencode_write(struct connectdata *conn, struct contenc_writer *writer, - const char *buf, size_t nbytes); -void Curl_unencode_cleanup(struct connectdata *conn); -char *Curl_all_content_encodings(void); - + const char *buf, size_t nbytes); +void Curl_unencode_cleanup(struct connectdata *conn); +char *Curl_all_content_encodings(void); + #endif /* HEADER_CURL_CONTENT_ENCODING_H */ |