aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-09-24 15:16:59 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-09-26 16:01:21 +0300
commit7a638aed1ba061285d57643eee5e4efa629d1449 (patch)
tree449c54f8f13bc65512f1f80827c6997ff3ad0085 /src/include/microhttpd.h
parent0f75e71e48b723c6d28797e7adbef7fe9afd6695 (diff)
downloadlibmicrohttpd-7a638aed1ba061285d57643eee5e4efa629d1449.tar.gz
libmicrohttpd-7a638aed1ba061285d57643eee5e4efa629d1449.zip
microhttpd.h: fixed deprecation messages
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h56
1 files changed, 24 insertions, 32 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index c850d849..b6f6fddc 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -480,52 +480,44 @@ _MHD_DEPR_MACRO ( \
480 480
481/* Deprecated names and codes */ 481/* Deprecated names and codes */
482/** @deprecated */ 482/** @deprecated */
483#define MHD_HTTP_METHOD_NOT_ACCEPTABLE \ 483#define MHD_HTTP_METHOD_NOT_ACCEPTABLE _MHD_DEPR_IN_MACRO (\
484 _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_METHOD_NOT_ACCEPTABLE is deprecated, " \ 484 "Value MHD_HTTP_METHOD_NOT_ACCEPTABLE is deprecated, use MHD_HTTP_NOT_ACCEPTABLE" \
485 "use MHD_HTTP_NOT_ACCEPTABLE") \ 485 ) 406
486 406
487 486
488/** @deprecated */ 487/** @deprecated */
489#define MHD_HTTP_REQUEST_ENTITY_TOO_LARGE \ 488#define MHD_HTTP_REQUEST_ENTITY_TOO_LARGE _MHD_DEPR_IN_MACRO (\
490 _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_REQUEST_ENTITY_TOO_LARGE is deprecated, " \ 489 "Value MHD_HTTP_REQUEST_ENTITY_TOO_LARGE is deprecated, use MHD_HTTP_CONTENT_TOO_LARGE"\
491 "use MHD_HTTP_CONTENT_TOO_LARGE") \ 490 ) 413
492 413
493 491
494/** @deprecated */ 492/** @deprecated */
495#define MHD_HTTP_PAYLOAD_TOO_LARGE \ 493#define MHD_HTTP_PAYLOAD_TOO_LARGE _MHD_DEPR_IN_MACRO (\
496 _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_PAYLOAD_TOO_LARGE is deprecated, " \ 494 "Value MHD_HTTP_PAYLOAD_TOO_LARGE is deprecated use MHD_HTTP_CONTENT_TOO_LARGE" \
497 "use MHD_HTTP_CONTENT_TOO_LARGE") \ 495 ) 413
498 413
499 496
500/** @deprecated */ 497/** @deprecated */
501#define MHD_HTTP_REQUEST_URI_TOO_LONG \ 498#define MHD_HTTP_REQUEST_URI_TOO_LONG _MHD_DEPR_IN_MACRO (\
502 _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_REQUEST_URI_TOO_LONG is deprecated, " \ 499 "Value MHD_HTTP_REQUEST_URI_TOO_LONG is deprecated, use MHD_HTTP_URI_TOO_LONG" \
503 "use MHD_HTTP_URI_TOO_LONG") \ 500 ) 414
504 414
505 501
506/** @deprecated */ 502/** @deprecated */
507#define MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE \ 503#define MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE _MHD_DEPR_IN_MACRO (\
508 _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE is " \ 504 "Value MHD_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE is deprecated, use MHD_HTTP_RANGE_NOT_SATISFIABLE" \
509 "deprecated, use MHD_HTTP_RANGE_NOT_SATISFIABLE") \ 505 ) 416
510 416
511 506
512/** @deprecated */ 507/** @deprecated */
513#define MHD_HTTP_UNPROCESSABLE_ENTITY \ 508#define MHD_HTTP_UNPROCESSABLE_ENTITY _MHD_DEPR_IN_MACRO (\
514 _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_UNPROCESSABLE_ENTITY is deprecated, " \ 509 "Value MHD_HTTP_UNPROCESSABLE_ENTITY is deprecated, use MHD_HTTP_UNPROCESSABLE_CONTENT" \
515 "use MHD_HTTP_UNPROCESSABLE_CONTENT") \ 510 ) 422
516 422
517 511
518/** @deprecated */ 512/** @deprecated */
519#define MHD_HTTP_UNORDERED_COLLECTION \ 513#define MHD_HTTP_UNORDERED_COLLECTION _MHD_DEPR_IN_MACRO (\
520 _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_UNORDERED_COLLECTION is deprecated " \ 514 "Value MHD_HTTP_UNORDERED_COLLECTION is deprecated as it was removed from RFC" \
521 "as it was removed from RFC") \ 515 ) 425
522 425
523 516
524/** @deprecated */ 517/** @deprecated */
525#define MHD_HTTP_NO_RESPONSE \ 518#define MHD_HTTP_NO_RESPONSE _MHD_DEPR_IN_MACRO (\
526 _MHD_DEPR_IN_MACRO ("Value MHD_HTTP_NO_RESPONSE is deprecated as " \ 519 "Value MHD_HTTP_NO_RESPONSE is deprecated as it is nginx internal code for logs only"\
527 "it is nginx internal code for logs only") \ 520 ) 444
528 444
529 521
530 522
531/** @} */ /* end of group httpcode */ 523/** @} */ /* end of group httpcode */