4#include "../dlib/dlib.h"
14 Dstr *(*decode) (
struct Decode *dc,
const char *instr,
int inlen);
Decode * a_Decode_charset_init(const char *format)
Initialize decoder to translate from any character set known to iconv() to UTF-8.
Dstr * a_Decode_transfer_process(DecodeTransfer *dc, const char *instr, int inlen)
Decode 'Transfer-Encoding: chunked' data.
void a_Decode_transfer_free(DecodeTransfer *dc)
Decode * a_Decode_content_init(const char *format)
Initialize content decoder.
DecodeTransfer * a_Decode_transfer_init(const char *format)
Initialize transfer decoder.
Dstr * a_Decode_process(Decode *dc, const char *instr, int inlen)
Decode data.
void a_Decode_free(Decode *dc)
bool_t a_Decode_transfer_finished(DecodeTransfer *dc)
bool_t finished
has the terminating chunk been seen?
void(* free)(struct Decode *dc)