aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index a81c0724..ce6865b8 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -791,7 +791,14 @@ enum MHD_ConnectionInfoType
791 /** 791 /**
792 * Get the 'struct MHD_Daemon' responsible for managing this connection. 792 * Get the 'struct MHD_Daemon' responsible for managing this connection.
793 */ 793 */
794 MHD_CONNECTION_INFO_DAEMON 794 MHD_CONNECTION_INFO_DAEMON,
795
796
797 /**
798 * Request the file descriptor for the listening socket.
799 * No extra arguments should be passed.
800 */
801 MHD_CONNECTION_INFO_CONNECTION_FD
795 802
796}; 803};
797 804
@@ -1852,6 +1859,11 @@ union MHD_ConnectionInfo
1852 int /* enum gnutls_protocol */ protocol; 1859 int /* enum gnutls_protocol */ protocol;
1853 1860
1854 /** 1861 /**
1862 * Connect socket
1863 */
1864 int connect_fd;
1865
1866 /**
1855 * GNUtls session handle, of type "gnutls_session_t". 1867 * GNUtls session handle, of type "gnutls_session_t".
1856 */ 1868 */
1857 void * /* gnutls_session_t */ tls_session; 1869 void * /* gnutls_session_t */ tls_session;