diff options
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 9a298abc..4df60a15 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -579,14 +579,13 @@ typedef void (*MHD_ContentReaderFreeCallback) (void *cls); | |||
579 | * MHD_NO to abort the iteration | 579 | * MHD_NO to abort the iteration |
580 | */ | 580 | */ |
581 | typedef int | 581 | typedef int |
582 | (*MHD_IncrementalKeyValueIterator) (void *cls, | 582 | (*MHD_PostDataIterator) (void *cls, |
583 | enum MHD_ValueKind kind, | 583 | enum MHD_ValueKind kind, |
584 | const char *key, | 584 | const char *key, |
585 | const char *filename, | 585 | const char *filename, |
586 | const char *content_type, | 586 | const char *content_type, |
587 | const char *transfer_encoding, | 587 | const char *transfer_encoding, |
588 | const char *data, | 588 | const char *data, size_t off, size_t size); |
589 | size_t off, size_t size); | ||
590 | 589 | ||
591 | /** | 590 | /** |
592 | * Start a webserver on the given port. | 591 | * Start a webserver on the given port. |
@@ -822,8 +821,8 @@ const char *MHD_get_response_header (struct MHD_Response *response, | |||
822 | * internal buffering (used only for the parsing, | 821 | * internal buffering (used only for the parsing, |
823 | * specifically the parsing of the keys). A | 822 | * specifically the parsing of the keys). A |
824 | * tiny value (256-1024) should be sufficient. | 823 | * tiny value (256-1024) should be sufficient. |
825 | * Do NOT use 0. | 824 | * Do NOT use a value smaller than 256. |
826 | * @param ikvi iterator to be called with the parsed data, | 825 | * @param iter iterator to be called with the parsed data, |
827 | * Must NOT be NULL. | 826 | * Must NOT be NULL. |
828 | * @param cls first argument to ikvi | 827 | * @param cls first argument to ikvi |
829 | * @return NULL on error (out of memory, unsupported encoding), | 828 | * @return NULL on error (out of memory, unsupported encoding), |
@@ -832,8 +831,8 @@ const char *MHD_get_response_header (struct MHD_Response *response, | |||
832 | struct MHD_PostProcessor *MHD_create_post_processor (struct MHD_Connection | 831 | struct MHD_PostProcessor *MHD_create_post_processor (struct MHD_Connection |
833 | *connection, | 832 | *connection, |
834 | unsigned int buffer_size, | 833 | unsigned int buffer_size, |
835 | MHD_IncrementalKeyValueIterator | 834 | MHD_PostDataIterator |
836 | ikvi, void *cls); | 835 | iter, void *cls); |
837 | 836 | ||
838 | /** | 837 | /** |
839 | * Parse and process POST data. | 838 | * Parse and process POST data. |