diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-03-09 17:35:19 +0100 |
---|---|---|
committer | rodarima <rodarima@gmail.com> | 2024-03-09 18:43:51 +0100 |
commit | 4c56214b8c2e130d3709bdca2513aef20b7b0fab (patch) | |
tree | b8cd0c6dafb5850ba116221f6f39a62e84983aa5 /src/decode.c | |
parent | bde09c45adf0daf252fafbaf87683d3ed7eaab07 (diff) |
Use Doxygen comments for C files
Diffstat (limited to 'src/decode.c')
-rw-r--r-- | src/decode.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/decode.c b/src/decode.c index 18c22673..974e1c39 100644 --- a/src/decode.c +++ b/src/decode.c @@ -20,7 +20,7 @@ static const int bufsize = 8*1024; -/* +/** * Decode 'Transfer-Encoding: chunked' data */ Dstr *a_Decode_transfer_process(DecodeTransfer *dc, const char *instr, @@ -108,7 +108,7 @@ static void Decode_compression_free(Decode *dc) * for what it accomplished. */ -/* +/** * Decode gzipped data */ static Dstr *Decode_gzip(Decode *dc, const char *instr, int inlen) @@ -144,7 +144,7 @@ static Dstr *Decode_gzip(Decode *dc, const char *instr, int inlen) return output; } -/* +/** * Decode (raw) deflated data */ static Dstr *Decode_raw_deflate(Decode *dc, const char *instr, int inlen) @@ -180,7 +180,7 @@ static Dstr *Decode_raw_deflate(Decode *dc, const char *instr, int inlen) return output; } -/* +/** * Decode deflated data, initially presuming that the required zlib wrapper * is there. On data error, switch to Decode_raw_deflate(). */ @@ -232,7 +232,7 @@ static Dstr *Decode_deflate(Decode *dc, const char *instr, int inlen) return output; } -/* +/** * Translate to desired character set (UTF-8) */ static Dstr *Decode_charset(Decode *dc, const char *instr, int inlen) @@ -285,7 +285,7 @@ static void Decode_charset_free(Decode *dc) dStr_free(dc->leftover, 1); } -/* +/** * Initialize transfer decoder. Currently handles "chunked". */ DecodeTransfer *a_Decode_transfer_init(const char *format) @@ -321,7 +321,7 @@ static Decode *Decode_content_init_common() return dc; } -/* +/** * Initialize content decoder. Currently handles 'gzip' and 'deflate'. */ Decode *a_Decode_content_init(const char *format) @@ -355,7 +355,7 @@ Decode *a_Decode_content_init(const char *format) return dc; } -/* +/** * Initialize decoder to translate from any character set known to iconv() * to UTF-8. * @@ -386,7 +386,7 @@ Decode *a_Decode_charset_init(const char *format) return dc; } -/* +/** * Decode data. */ Dstr *a_Decode_process(Decode *dc, const char *instr, int inlen) |