Data Structures | Macros | Typedefs
MyQttd Module Def: Type and handler definitions for myqttd modules

Data Structures

struct  _MyQttdModDef
 Public definition for the main entry point for all modules developed for myqttd. More...
 

Macros

#define MYQTTD_MOD_PREPARE(_ctx)   do{ctx = _ctx;}while(0)
 Allows to prepare de module with the myqttd context (and the myqtt context associated). More...
 

Typedefs

typedef void(* ModCloseFunc )(MyQttdCtx *ctx)
 Public definition for the close function that must implement all operations required to unload and terminate a module. More...
 
typedef axl_bool(* ModInitFunc )(MyQttdCtx *ctx)
 Public definition for the init function that must implement a myqttd module. More...
 
typedef void(* ModReconfFunc )(MyQttdCtx *ctx)
 Public definition for the reconfiguration function that must be implemented to receive notification if the myqttd server configuration is reloaded (either because a signal was received or because some module has called myqttd_reload_config). More...
 
typedef void(* ModUnloadFunc )(MyQttdCtx *ctx)
 A reference to the unload method that must implement all unload code required in the case myqttd ask the module to stop its function. More...
 
typedef struct _MyQttdModDef MyQttdModDef
 Public definition for the main entry point for all modules developed for myqttd. More...
 

Detailed Description