libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

commit 759226ea068e9938b0f3b0248d2085d88753637b
parent f7970a14040b058c2dc5db13ac62a7a913251694
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date:   Fri, 21 Mar 2025 18:54:56 +0300

microhttpd2: added comments for one macro

Diffstat:
Msrc/include/microhttpd2.h | 6++++++
Msrc/include/microhttpd2_main.h.in | 6++++++
2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h @@ -8089,6 +8089,8 @@ MHD_FN_PAR_NONNULL_ (2) MHD_FN_PAR_CSTR_ (2) MHD_FN_PAR_CSTR_ (3) MHD_FN_PAR_CSTR_ (4); +/* Application may define MHD_NO_STATIC_INLINE macro before including + libmicrohttpd headers to disable static inline functions in the headers. */ #ifndef MHD_NO_STATIC_INLINE /** @@ -8367,6 +8369,8 @@ MHD_response_add_auth_basic_challenge ( enum MHD_Bool prefer_utf8) MHD_FN_PAR_NONNULL_ (2) MHD_FN_PAR_CSTR_ (2); +/* Application may define MHD_NO_STATIC_INLINE macro before including + libmicrohttpd headers to disable static inline functions in the headers. */ #ifndef MHD_NO_STATIC_INLINE /** @@ -9008,6 +9012,8 @@ MHD_FN_PAR_NONNULL_ (2) MHD_FN_PAR_OUT_ (2); #define MHD_lib_get_info_fixed(info,output_buf) \ MHD_lib_get_info_fixed_sz ((info),(output_buf),sizeof(*(output_buf))) +/* Application may define MHD_NO_STATIC_INLINE macro before including + libmicrohttpd headers to disable static inline functions in the headers. */ #ifndef MHD_NO_STATIC_INLINE /* diff --git a/src/include/microhttpd2_main.h.in b/src/include/microhttpd2_main.h.in @@ -3467,6 +3467,8 @@ MHD_FN_PAR_NONNULL_ (2) MHD_FN_PAR_CSTR_ (2) MHD_FN_PAR_CSTR_ (3) MHD_FN_PAR_CSTR_ (4); +/* Application may define MHD_NO_STATIC_INLINE macro before including + libmicrohttpd headers to disable static inline functions in the headers. */ #ifndef MHD_NO_STATIC_INLINE /** @@ -3745,6 +3747,8 @@ MHD_response_add_auth_basic_challenge ( enum MHD_Bool prefer_utf8) MHD_FN_PAR_NONNULL_ (2) MHD_FN_PAR_CSTR_ (2); +/* Application may define MHD_NO_STATIC_INLINE macro before including + libmicrohttpd headers to disable static inline functions in the headers. */ #ifndef MHD_NO_STATIC_INLINE /** @@ -4386,6 +4390,8 @@ MHD_FN_PAR_NONNULL_ (2) MHD_FN_PAR_OUT_ (2); #define MHD_lib_get_info_fixed(info,output_buf) \ MHD_lib_get_info_fixed_sz ((info),(output_buf),sizeof(*(output_buf))) +/* Application may define MHD_NO_STATIC_INLINE macro before including + libmicrohttpd headers to disable static inline functions in the headers. */ #ifndef MHD_NO_STATIC_INLINE /*