Typedefs
MyQttd Handlers : Function handler definitions used by the API

Typedefs

typedef int(* MyQttdConnMgrFilter )(MyQttConn *conn, axlPointer user_data)
 Handler definition for the set of functions that are able to filter connections to be not broadcasted by the myqttd conn mgr module. More...
 
typedef MyQttConn *(* MyQttdListenerActivator )(MyQttdCtx *ctx, MyQttCtx *my_ctx, axlNode *port_node, const char *bind_addr, const char *port, axlPointer user_data)
 Handler definition for the set of functions that allows MyQttd server to startup listeners. More...
 
typedef axl_bool(* MyQttdLoopOnRead )(MyQttdLoop *loop, MyQttdCtx *ctx, int descriptor, axlPointer ptr, axlPointer ptr2)
 Handler definition used by myqttd_loop_set_read_handler to notify that the descriptor is ready to be read (either because it has data or because it was closed). More...
 
typedef void(* MyQttdOnDateChange )(MyQttdCtx *ctx, long new_value, axlPointer user_data)
 Handler that represents those functions that are called to notify day and month change. More...
 
typedef MyQttPublishCodes(* MyQttdOnPublish )(MyQttdCtx *ctx, MyQttdDomain *domain, MyQttCtx *myqtt_ctx, MyQttConn *conn, MyQttMsg *msg, axlPointer user_data)
 Async notification handler that gets called once a PUBLISH message is received on a listener connection. More...
 
typedef void(* MyQttdSignalHandler )(int signal)
 Handler definition used by process calling to myqttd_signal_install which has visibility to access to the right MyQttdCtx object. More...
 
typedef axl_bool(* MyQttdUsersAuthUser )(MyQttdCtx *ctx, MyQttdDomain *domain, axl_bool domain_selected, MyQttdUsers *users, MyQttConn *conn, axlPointer backend, const char *client_id, const char *user_name, const char *password)
 Handler used to define the set of functions that allows to implement user authentication with provided user described by username+clientid or any combination of them exists in the provided backend. More...
 
typedef axl_bool(* MyQttdUsersExists )(MyQttdCtx *ctx, MyQttdDomain *domain, axl_bool domain_selected, MyQttdUsers *users, MyQttConn *conn, axlPointer backend, const char *client_id, const char *user_name)
 Handler used to define the set of functions that allows to check if the provided user described by username+clientid or any combination of them exists in the provided backend. More...
 
typedef axlPointer(* MyQttdUsersLoadDb )(MyQttdCtx *ctx, MyQttdDomain *domain, MyQttConn *conn, const char *path)
 Handler used to define the set of functions that can load an user's backend for a given connection and/or myqtt domain. More...
 
typedef void(* MyQttdUsersUnloadDb )(MyQttdCtx *ctx, axlPointer backend)
 Handler used to define the set of functions that unaloads an user's backend. More...
 

Detailed Description