aboutsummaryrefslogtreecommitdiff
path: root/src/multipart.h
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2019-11-19 19:52:23 +0300
committerAleksey Veresov <aleksey@veresov.pro>2019-11-19 19:52:23 +0300
commit03c27c8542d23a5e4072f0c080c396ce608c1d50 (patch)
treea80e7de3bffbf1e17d2f19dc8a50f9bdd3ececc5 /src/multipart.h
parent42bb3d37c156df14560347d4c7df3f0dd0551389 (diff)
downloadmagi-03c27c8542d23a5e4072f0c080c396ce608c1d50.tar
magi-03c27c8542d23a5e4072f0c080c396ce608c1d50.tar.xz
magi-03c27c8542d23a5e4072f0c080c396ce608c1d50.zip
.
Diffstat (limited to 'src/multipart.h')
-rw-r--r--src/multipart.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/multipart.h b/src/multipart.h
index 43b6212..bb51d5c 100644
--- a/src/multipart.h
+++ b/src/multipart.h
@@ -13,8 +13,10 @@ int magi_parse_multipart(
void * get_next_arg,
char * boundary,
/* End if size < magi_parse_multipart_callback_size. */
- /* Null callback means filling list. */
- void (*callback)(struct magi_field * field, char * buffer, int size));
+ /* Null callback means skipping. */
+ void (*callback)(
+ struct magi_file * file, char * buffer, int size, void * thing),
+ void * thing);
#endif