MHD_daemon_get_info_fixed(): added information about used TLS backend

This commit is contained in:
Evgeny Grin (Karlson2k) committed 2025-01-17 15:34:01 +01:00
1 parent c0b6163b48
commit 13b4ea85ea
3 files changed
+74

No files matched your search

+14
View File
@@ -9204,6 +9204,15 @@ enum MHD_DaemonInfoFixedType
*/
MHD_DAEMON_INFO_FIXED_AGGREAGATE_FD = 3
,
/**
* Get the TLS backend used by the daemon.
* The value #MHD_TLS_BACKEND_ANY is never set in the returned data.
* The value #MHD_TLS_BACKEND_NONE is set if the daemon does not use TLS.
* If MHD built without TLS support then #MHD_TLS_BACKEND_NONE is always set.
* The result is placed in @a v_tls_backend member.
*/
MHD_DAEMON_INFO_FIXED_TLS_TYPE = 100
,
/* * Sentinel * */
/**
@@ -9237,6 +9246,11 @@ union MHD_DaemonInfoFixedData
*/
uint_least16_t v_port;
/**
* The TLS backend
*/
enum MHD_TlsBackend v_tls_backend;
/**
* Unused member.
* Help enforcing future-proof alignment of the union.
+14
View File
@@ -4582,6 +4582,15 @@ enum MHD_DaemonInfoFixedType
*/
MHD_DAEMON_INFO_FIXED_AGGREAGATE_FD = 3
,
/**
* Get the TLS backend used by the daemon.
* The value #MHD_TLS_BACKEND_ANY is never set in the returned data.
* The value #MHD_TLS_BACKEND_NONE is set if the daemon does not use TLS.
* If MHD built without TLS support then #MHD_TLS_BACKEND_NONE is always set.
* The result is placed in @a v_tls_backend member.
*/
MHD_DAEMON_INFO_FIXED_TLS_TYPE = 100
,
/* * Sentinel * */
/**
@@ -4615,6 +4624,11 @@ union MHD_DaemonInfoFixedData
*/
uint_least16_t v_port;
/**
* The TLS backend
*/
enum MHD_TlsBackend v_tls_backend;
/**
* Unused member.
* Help enforcing future-proof alignment of the union.