ser module exports version
#include <sr_module.h>
Data Fields
-
ser_cmd_export_t * cmds
- null terminated array of the exported commands
-
destroy_function destroy_f
- function called when the module should be "destroyed", e.g: on ser exit; can be null
-
child_init_function init_child_f
- function called by all processes after the fork
-
init_function init_f
- Initialization function.
-
char * name
- null terminated module name
-
param_export_t * params
- null terminated array of the exported module parameters
-
response_function response_f
- function used for responses, returns yes or no; can be null
-
rpc_export_t * rpc_methods
- null terminated array of exported rpc methods
Detailed Description
Definition at line 338 of file sr_module.h.
The documentation for this struct was generated from the following file: