aboutsummaryrefslogtreecommitdiff
path: root/src/decode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/decode.h')
-rw-r--r--src/decode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decode.h b/src/decode.h
index b3f56eb3..064177eb 100644
--- a/src/decode.h
+++ b/src/decode.h
@@ -13,14 +13,14 @@ struct _Decode {
char *buffer;
Dstr *leftover;
void *state;
- Dstr *(*decode) (Decode *dc, Dstr *input);
+ Dstr *(*decode) (Decode *dc, const char *instr, int inlen);
void (*free) (Decode *dc);
};
Decode *a_Decode_transfer_init(const char *format);
Decode *a_Decode_content_init(const char *format);
Decode *a_Decode_charset_init(const char *format);
-Dstr *a_Decode_process(Decode *dc, Dstr *input);
+Dstr *a_Decode_process(Decode *dc, const char *instr, int inlen);
void a_Decode_free(Decode *dc);
#ifdef __cplusplus