mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-10-05 04:03:18 +03:00
MHD_daemon_get_info_fixed(): added information about used TLS backend
This commit is contained in:
3 files changed
+74
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user