libmicrohttpd2

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

commit f7970a14040b058c2dc5db13ac62a7a913251694
parent d63129cb2f99b95ed65f309badca6cfdfbc74f54
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date:   Sat,  1 Mar 2025 23:32:56 +0100

Fixed spelling deamon -> daemon

Diffstat:
Msrc/include/microhttpd2.h | 6+++---
Msrc/include/microhttpd2_main.h.in | 4++--
Msrc/include/microhttpd2_preamble.h.in | 2+-
Msrc/mhd2/mhd_daemon.h | 8++++----
4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/include/microhttpd2.h b/src/include/microhttpd2.h @@ -2805,7 +2805,7 @@ MHD_FN_PAR_NONNULL_ (1) MHD_FN_PAR_NONNULL_ (2); * @ingroup event */ MHD_EXTERN_ enum MHD_StatusCode -MHD_deamon_process_reg_events (struct MHD_Daemon *MHD_RESTRICT daemon, +MHD_daemon_process_reg_events (struct MHD_Daemon *MHD_RESTRICT daemon, uint_fast64_t *MHD_RESTRICT next_max_wait) MHD_FN_PAR_NONNULL_ (1); @@ -9084,7 +9084,7 @@ enum MHD_FIXED_ENUM_APP_SET_ MHD_LibInfoDynamic * startup, complete initialisation is perfomed when any daemon is created * (or called other function which requires full initialisation). * The result is #MHD_YES if library is initialised state now (meaning - * that at least one deamon is created and not destroyed or some function + * that at least one daemon is created and not destroyed or some function * required full initialisation is running). * The result is placed in @a v_bool member. */ @@ -9359,7 +9359,7 @@ enum MHD_DaemonInfoDynamicType /** * The the maximum number of millisecond from the current moment until * the mandatory call of the daemon data processing function (like - * #MHD_deamon_process_reg_events(), #MHD_daemon_process_blocking()). + * #MHD_daemon_process_reg_events(), #MHD_daemon_process_blocking()). * If resulting value is zero then daemon data processing function should be * called as soon as possible as some data processing is already pending. * The data processing function can also be called earlier as well. diff --git a/src/include/microhttpd2_main.h.in b/src/include/microhttpd2_main.h.in @@ -4462,7 +4462,7 @@ enum MHD_FIXED_ENUM_APP_SET_ MHD_LibInfoDynamic * startup, complete initialisation is perfomed when any daemon is created * (or called other function which requires full initialisation). * The result is #MHD_YES if library is initialised state now (meaning - * that at least one deamon is created and not destroyed or some function + * that at least one daemon is created and not destroyed or some function * required full initialisation is running). * The result is placed in @a v_bool member. */ @@ -4737,7 +4737,7 @@ enum MHD_DaemonInfoDynamicType /** * The the maximum number of millisecond from the current moment until * the mandatory call of the daemon data processing function (like - * #MHD_deamon_process_reg_events(), #MHD_daemon_process_blocking()). + * #MHD_daemon_process_reg_events(), #MHD_daemon_process_blocking()). * If resulting value is zero then daemon data processing function should be * called as soon as possible as some data processing is already pending. * The data processing function can also be called earlier as well. diff --git a/src/include/microhttpd2_preamble.h.in b/src/include/microhttpd2_preamble.h.in @@ -2805,7 +2805,7 @@ MHD_FN_PAR_NONNULL_ (1) MHD_FN_PAR_NONNULL_ (2); * @ingroup event */ MHD_EXTERN_ enum MHD_StatusCode -MHD_deamon_process_reg_events (struct MHD_Daemon *MHD_RESTRICT daemon, +MHD_daemon_process_reg_events (struct MHD_Daemon *MHD_RESTRICT daemon, uint_fast64_t *MHD_RESTRICT next_max_wait) MHD_FN_PAR_NONNULL_ (1); diff --git a/src/mhd2/mhd_daemon.h b/src/mhd2/mhd_daemon.h @@ -718,7 +718,7 @@ struct mhd_DaemonWorkerPoolData /** * Hierarchy data for the daemon */ -union mhd_DeamonHierarchyData +union mhd_DaemonHierarchyData { /** * The pointer to the master daemon @@ -783,7 +783,7 @@ struct mhd_DaemonThreadingData * Used only when @a d_type is #mhd_DAEMON_TYPE_MASTER_CONTROL_ONLY or * #mhd_DAEMON_TYPE_WORKER. */ - union mhd_DeamonHierarchyData hier; + union mhd_DaemonHierarchyData hier; /** * Configured settings for threading @@ -904,7 +904,7 @@ struct mhd_DaemonRequestUriCB /** * Shared large buffer data */ -struct mhd_DeamonLargeBuffer +struct mhd_DaemonLargeBuffer { /** * The amount of memory left allowed to be allocated for the large buffer @@ -955,7 +955,7 @@ struct mhd_DaemonRequestProcessingSettings /** * Shared large buffer data */ - struct mhd_DeamonLargeBuffer large_buf; // TODO: set from settings + struct mhd_DaemonLargeBuffer large_buf; // TODO: set from settings /** * Suppress "Date:" header in responses