aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index a7f846ca..9a298abc 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -84,7 +84,7 @@ extern "C"
84/** 84/**
85 * Current version of the library. 85 * Current version of the library.
86 */ 86 */
87#define MHD_VERSION 0x00000005 87#define MHD_VERSION 0x00000004
88 88
89/** 89/**
90 * MHD-internal return codes. 90 * MHD-internal return codes.
@@ -562,15 +562,19 @@ typedef void (*MHD_ContentReaderFreeCallback) (void *cls);
562/** 562/**
563 * Iterator over key-value pairs where the value 563 * Iterator over key-value pairs where the value
564 * maybe made available in increments and/or may 564 * maybe made available in increments and/or may
565 * not be zero-terminated. 565 * not be zero-terminated. Used for processing
566 * POST data.
566 * 567 *
567 * @param cls user-specified closure 568 * @param cls user-specified closure
568 * @param kind type of the value 569 * @param kind type of the value
569 * @param 0-terminated key for the value 570 * @param key 0-terminated key for the value
570 * @param value pointer to size bytes of data at the 571 * @param filename name of the uploaded file, NULL if not known
572 * @param content_type mime-type of the data, NULL if not known
573 * @param transfer_encoding encoding of the data, NULL if not known
574 * @param data pointer to size bytes of data at the
571 * specified offset 575 * specified offset
572 * @param off offset of value in the overall data 576 * @param off offset of data in the overall value
573 * @param size number of bytes in value available 577 * @param size number of bytes in data available
574 * @return MHD_YES to continue iterating, 578 * @return MHD_YES to continue iterating,
575 * MHD_NO to abort the iteration 579 * MHD_NO to abort the iteration
576 */ 580 */
@@ -578,7 +582,10 @@ typedef int
578 (*MHD_IncrementalKeyValueIterator) (void *cls, 582 (*MHD_IncrementalKeyValueIterator) (void *cls,
579 enum MHD_ValueKind kind, 583 enum MHD_ValueKind kind,
580 const char *key, 584 const char *key,
581 const char *value, 585 const char *filename,
586 const char *content_type,
587 const char *transfer_encoding,
588 const char *data,
582 size_t off, size_t size); 589 size_t off, size_t size);
583 590
584/** 591/**