GNU libmicrohttpd  0.9.62
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
connection_add.h File Reference

functions to add connection to our active set More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

enum MHD_StatusCode MHD_NONNULL (1)
 

Detailed Description

functions to add connection to our active set

Author
Christian Grothoff

Definition in file connection_add.h.

Function Documentation

enum MHD_StatusCode MHD_NONNULL ( )

Accept an incoming connection and create the MHD_Connection object for it. This function also enforces policy by way of checking with the accept policy callback.

Remarks
To be called only from thread that process daemon's select()/poll()/etc.
Parameters
daemonhandle with the listen socket
Returns
#MHD_SC_OK on success