aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-09-09 05:46:28 +0000
committerChristian Grothoff <christian@grothoff.org>2007-09-09 05:46:28 +0000
commit4779f7d8eb9c7f6eec051a90a358d66f2dcfe9b0 (patch)
tree8be71681f108dac033a56c16d53f920883d8699a /src/include/microhttpd.h
parent3750461e0ac7a17173c20e36f5469008341dbf86 (diff)
downloadlibmicrohttpd-4779f7d8eb9c7f6eec051a90a358d66f2dcfe9b0.tar.gz
libmicrohttpd-4779f7d8eb9c7f6eec051a90a358d66f2dcfe9b0.zip
better name, code forgotten earlier
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h23
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 */
581typedef int 581typedef 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,
832struct MHD_PostProcessor *MHD_create_post_processor (struct MHD_Connection 831struct 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.