Typedefs
noPoll Handlers: Handler definitions used by the library to du async notifications

Typedefs

typedef nopoll_bool(* noPollActionHandler )(noPollCtx *ctx, noPollConn *conn, noPollPtr user_data)
 General async handler definition used to notify generic events associated to a connection. More...
 
typedef nopoll_bool(* noPollForeachConn )(noPollCtx *ctx, noPollConn *conn, noPollPtr user_data)
 Handler used to define the foreach function that is used by nopoll_ctx_foreach_conn. More...
 
typedef nopoll_bool(* noPollIoMechAddTo )(int fds, noPollCtx *ctx, noPollConn *conn, noPollPtr io_object)
 Handler used to define the IO add to set function for an IO mechanism. More...
 
typedef void(* noPollIoMechClear )(noPollCtx *ctx, noPollPtr io_object)
 Handler used to define the IO wait set clear function for an IO mechanism. More...
 
typedef noPollPtr(* noPollIoMechCreate )(noPollCtx *ctx)
 Handler used to define the create function for an IO mechanism. More...
 
typedef void(* noPollIoMechDestroy )(noPollCtx *ctx, noPollPtr io_object)
 Handler used to define the IO wait set destroy function for an IO mechanism. More...
 
typedef nopoll_bool(* noPollIoMechIsSet )(noPollCtx *ctx, int fds, noPollPtr io_object)
 Handler used to define the IO is set function for an IO mechanism. More...
 
typedef int(* noPollIoMechWait )(noPollCtx *ctx, noPollPtr io_object)
 Handler used to define the IO wait function for an IO mechanism. More...
 
typedef void(* noPollLogHandler )(noPollCtx *ctx, noPollDebugLevel level, const char *log_msg, noPollPtr user_data)
 Handler used by nopoll_log_set_handler to receive all log notifications produced by the library on this function. More...
 
typedef noPollPtr(* noPollMutexCreate )(void)
 Mutex creation handler used by the library. More...
 
typedef void(* noPollMutexDestroy )(noPollPtr mutex)
 Mutex destroy handler used by the library. More...
 
typedef void(* noPollMutexLock )(noPollPtr mutex)
 Mutex lock handler used by the library. More...
 
typedef void(* noPollMutexUnlock )(noPollPtr mutex)
 Mutex unlock handler used by the library. More...
 
typedef void(* noPollOnCloseHandler )(noPollCtx *ctx, noPollConn *conn, noPollPtr user_data)
 Handler definition used by nopoll_conn_set_on_close. More...
 
typedef void(* noPollOnMessageHandler )(noPollCtx *ctx, noPollConn *conn, noPollMsg *msg, noPollPtr user_data)
 Handler definition used to notify websocket messages received. More...
 
typedef int(* noPollRead )(noPollConn *conn, char *buffer, int buffer_size)
 Handler definition used to describe read functions used by noPollConn. More...
 
typedef noPollPtr(* noPollSslContextCreator )(noPollCtx *ctx, noPollConn *conn, noPollConnOpts *opts, nopoll_bool is_client, noPollPtr user_data)
 An optional handler that allows user land code to define how is SSL_CTX (SSL context) created and which are the settings it should have before taking place SSL/TLS handshake. More...
 
typedef nopoll_bool(* noPollSslPostCheck )(noPollCtx *ctx, noPollConn *conn, noPollPtr SSL_CTX, noPollPtr SSL, noPollPtr user_data)
 Optional user defined handler that allows to execute SSL post checks code before proceed. More...
 

Detailed Description