aboutsummaryrefslogtreecommitdiff
path: root/src/multipart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/multipart.c')
-rw-r--r--src/multipart.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/multipart.c b/src/multipart.c
index 6ab1258..c3e4a2d 100644
--- a/src/multipart.c
+++ b/src/multipart.c
@@ -485,13 +485,10 @@ static int run_automata(struct automata * a,
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Automata Interfaces
*/
-int magi_parse_multipart(struct magi_field_list ** list,
- int (*get_next)(void *),
- void * get_next_arg,
- char * boundary,
- void (*callback)(struct magi_field * field,
- char * buffer,
- int len))
+int magi_parse_multipart(struct magi_request * request,
+ char * boundary,
+ int (*get_next)(void * userdata),
+ void * get_next_userdata)
{
struct automata a = {
0, { 0, 0, 0 }, { 0, 0 }, 0, 0, 1, 0, 0, 2, 0, 0, 0