aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/postprocessor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/postprocessor.c')
-rw-r--r--src/microhttpd/postprocessor.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/src/microhttpd/postprocessor.c b/src/microhttpd/postprocessor.c
index dfdf2a50..e6677b7f 100644
--- a/src/microhttpd/postprocessor.c
+++ b/src/microhttpd/postprocessor.c
@@ -208,8 +208,8 @@ struct MHD_PostProcessor
208 /** 208 /**
209 * Do we have to call the 'ikvi' callback when processing the 209 * Do we have to call the 'ikvi' callback when processing the
210 * multipart post body even if the size of the payload is zero? 210 * multipart post body even if the size of the payload is zero?
211 * Set to MHD_YES whenever we parse a new multiparty entry header, 211 * Set to #MHD_YES whenever we parse a new multiparty entry header,
212 * and to MHD_NO the first time we call the 'ikvi' callback. 212 * and to #MHD_NO the first time we call the 'ikvi' callback.
213 * Used to ensure that we do always call 'ikvi' even if the 213 * Used to ensure that we do always call 'ikvi' even if the
214 * payload is empty (but not more than once). 214 * payload is empty (but not more than once).
215 */ 215 */
@@ -336,8 +336,8 @@ MHD_create_post_processor (struct MHD_Connection *connection,
336 * 336 *
337 * @param pp post processor context 337 * @param pp post processor context
338 * @param post_data upload data 338 * @param post_data upload data
339 * @param post_data_len number of bytes in upload_data 339 * @param post_data_len number of bytes in @a post_data
340 * @return MHD_YES on success, MHD_NO if there was an error processing the data 340 * @return #MHD_YES on success, #MHD_NO if there was an error processing the data
341 */ 341 */
342static int 342static int
343post_process_urlencoded (struct MHD_PostProcessor *pp, 343post_process_urlencoded (struct MHD_PostProcessor *pp,
@@ -492,7 +492,7 @@ post_process_urlencoded (struct MHD_PostProcessor *pp,
492 * @param prefix prefix to match 492 * @param prefix prefix to match
493 * @param line line to match prefix in 493 * @param line line to match prefix in
494 * @param suffix set to a copy of the rest of the line, starting at the end of the match 494 * @param suffix set to a copy of the rest of the line, starting at the end of the match
495 * @return MHD_YES if there was a match, MHD_NO if not 495 * @return #MHD_YES if there was a match, #MHD_NO if not
496 */ 496 */
497static int 497static int
498try_match_header (const char *prefix, char *line, char **suffix) 498try_match_header (const char *prefix, char *line, char **suffix)
@@ -523,7 +523,7 @@ try_match_header (const char *prefix, char *line, char **suffix)
523 * if the boundary is found 523 * if the boundary is found
524 * @param next_dash_state dash_state to which we should advance the 524 * @param next_dash_state dash_state to which we should advance the
525 * post processor if the boundary is found 525 * post processor if the boundary is found
526 * @return MHD_NO if the boundary is not found, MHD_YES if we did find it 526 * @return #MHD_NO if the boundary is not found, #MHD_YES if we did find it
527 */ 527 */
528static int 528static int
529find_boundary (struct MHD_PostProcessor *pp, 529find_boundary (struct MHD_PostProcessor *pp,
@@ -561,8 +561,7 @@ find_boundary (struct MHD_PostProcessor *pp,
561 * In buf, there maybe an expression '$key="$value"'. If that is the 561 * In buf, there maybe an expression '$key="$value"'. If that is the
562 * case, copy a copy of $value to destination. 562 * case, copy a copy of $value to destination.
563 * 563 *
564 * If destination is already non-NULL, 564 * If destination is already non-NULL, do nothing.
565 * do nothing.
566 */ 565 */
567static void 566static void
568try_get_value (const char *buf, 567try_get_value (const char *buf,
@@ -613,8 +612,8 @@ try_get_value (const char *buf,
613 * processed 612 * processed
614 * @param next_state state to which the post processor should 613 * @param next_state state to which the post processor should
615 * be advanced if we find the end of the headers 614 * be advanced if we find the end of the headers
616 * @return MHD_YES if we can continue processing, 615 * @return #MHD_YES if we can continue processing,
617 * MHD_NO on error or if we do not have 616 * #MHD_NO on error or if we do not have
618 * enough data yet 617 * enough data yet
619 */ 618 */
620static int 619static int
@@ -794,8 +793,8 @@ free_unmarked (struct MHD_PostProcessor *pp)
794 * 793 *
795 * @param pp post processor context 794 * @param pp post processor context
796 * @param post_data data to decode 795 * @param post_data data to decode
797 * @param post_data_len number of bytes in 'post_data' 796 * @param post_data_len number of bytes in @a post_data
798 * @return MHD_NO on error, 797 * @return #MHD_NO on error,
799 */ 798 */
800static int 799static int
801post_process_multipart (struct MHD_PostProcessor *pp, 800post_process_multipart (struct MHD_PostProcessor *pp,