diff options
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index 79b93c80..1fbb6e65 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -2368,7 +2368,7 @@ MHD_unescape_plus (char *arg); | |||
2368 | * Callback invoked when iterating over @a key / @a value | 2368 | * Callback invoked when iterating over @a key / @a value |
2369 | * argument pairs during parsing. | 2369 | * argument pairs during parsing. |
2370 | * | 2370 | * |
2371 | * @param connection context of the iteration | 2371 | * @param cls context of the iteration |
2372 | * @param key 0-terminated key string, never NULL | 2372 | * @param key 0-terminated key string, never NULL |
2373 | * @param key_size number of bytes in key | 2373 | * @param key_size number of bytes in key |
2374 | * @param value 0-terminated binary data, may include binary zeros, may be NULL | 2374 | * @param value 0-terminated binary data, may include binary zeros, may be NULL |
@@ -2378,7 +2378,7 @@ MHD_unescape_plus (char *arg); | |||
2378 | * #MHD_NO to signal failure (and abort iteration) | 2378 | * #MHD_NO to signal failure (and abort iteration) |
2379 | */ | 2379 | */ |
2380 | typedef enum MHD_Result | 2380 | typedef enum MHD_Result |
2381 | (*MHD_ArgumentIterator_)(struct MHD_Connection *connection, | 2381 | (*MHD_ArgumentIterator_)(void *cls, |
2382 | const char *key, | 2382 | const char *key, |
2383 | size_t key_size, | 2383 | size_t key_size, |
2384 | const char *value, | 2384 | const char *value, |
@@ -2395,7 +2395,7 @@ typedef enum MHD_Result | |||
2395 | * @param[in,out] args argument URI string (after "?" in URI), | 2395 | * @param[in,out] args argument URI string (after "?" in URI), |
2396 | * clobbered in the process! | 2396 | * clobbered in the process! |
2397 | * @param cb function to call on each key-value pair found | 2397 | * @param cb function to call on each key-value pair found |
2398 | * @param[out] num_headers set to the number of headers found | 2398 | * @param cls the iterator context |
2399 | * @return #MHD_NO on failure (@a cb returned #MHD_NO), | 2399 | * @return #MHD_NO on failure (@a cb returned #MHD_NO), |
2400 | * #MHD_YES for success (parsing succeeded, @a cb always | 2400 | * #MHD_YES for success (parsing succeeded, @a cb always |
2401 | * returned #MHD_YES) | 2401 | * returned #MHD_YES) |
@@ -2405,7 +2405,7 @@ MHD_parse_arguments_ (struct MHD_Connection *connection, | |||
2405 | enum MHD_ValueKind kind, | 2405 | enum MHD_ValueKind kind, |
2406 | char *args, | 2406 | char *args, |
2407 | MHD_ArgumentIterator_ cb, | 2407 | MHD_ArgumentIterator_ cb, |
2408 | unsigned int *num_headers); | 2408 | void *cls); |
2409 | 2409 | ||
2410 | 2410 | ||
2411 | /** | 2411 | /** |