libtrap
1.16.1
|
Structures containing information about Nemea modules and macros for initialization and release of these structures. More...
Go to the source code of this file.
Data Structures | |
struct | trap_module_info_parameter_s |
struct | trap_module_info_s |
Macros | |
#define | GEN_LONG_OPT_STRUCT_LINE(p_short_opt, p_long_opt, p_description, p_required_argument, p_argument_type) {p_long_opt, p_required_argument, 0, p_short_opt}, |
#define | GEN_LONG_OPT_STRUCT(PARAMS) |
#define | ALLOCATE_BASIC_INFO_2(module_info, p_name, p_description, p_input, p_output) |
#define | ALLOCATE_BASIC_INFO(p_name, p_description, p_input, p_output) ALLOCATE_BASIC_INFO_2(module_info, p_name, p_description, p_input, p_output) |
#define | ALLOCATE_PARAM_ITEMS_2(m, param_id, p_short_opt, p_long_opt, p_description, p_required_argument, p_argument_type) |
#define | ALLOCATE_PARAM_ITEMS(p_short_opt, p_long_opt, p_description, p_required_argument, p_argument_type) |
#define | FREE_BASIC_INFO(p_name, p_description, p_input, p_output) |
#define | FREE_PARAM_ITEMS(p_short_opt, p_long_opt, p_description, p_required_argument, p_argument_type) |
#define | GENERATE_GETOPT_STRING(p_short_opt, p_long_opt, p_description, p_required_argument, p_argument_type) |
#define | COUNT_MODULE_PARAMS(p_short_opt, p_long_opt, p_description, p_required_argument, p_argument_type) trap_module_params_cnt++; |
#define | INIT_MODULE_INFO_STRUCT(BASIC, PARAMS) |
#define | FREE_MODULE_INFO_STRUCT(BASIC, PARAMS) |
Typedefs | |
typedef struct trap_module_info_parameter_s | trap_module_info_parameter_t |
typedef struct trap_module_info_s | trap_module_info_t |
Functions | |
trap_module_info_t * | trap_create_module_info (const char *mname, const char *mdesc, int8_t i_ifcs, int8_t o_ifcs, uint16_t param_count) |
int | trap_update_module_param (trap_module_info_t *m, uint16_t param_id, char shortopt, const char *longopt, const char *desc, int req_arg, const char *arg_type) |
Structures containing information about Nemea modules and macros for initialization and release of these structures.
Definition in file trap_module_info.h.