diff options
Diffstat (limited to 'src/decode.h')
-rw-r--r-- | src/decode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decode.h b/src/decode.h index 2cdc29e7..7f8045cd 100644 --- a/src/decode.h +++ b/src/decode.h @@ -13,13 +13,13 @@ struct _Decode { char *buffer; Dstr *leftover; void *state; - Dstr *(*decode) (Decode *dc, const char *inData, int inLen); + Dstr *(*decode) (Decode *dc, Dstr *input); void (*free) (Decode *dc); }; Decode *a_Decode_content_init(const char *format); Decode *a_Decode_charset_init(const char *format); -Dstr *a_Decode_process(Decode *dc, const char *inData, int inLen); +Dstr *a_Decode_process(Decode *dc, Dstr *input); void a_Decode_free(Decode *dc); #ifdef __cplusplus |