libtrap  1.16.1
Data Structures | Macros | Typedefs | Functions
trap_module_info.h File Reference

Structures containing information about Nemea modules and macros for initialization and release of these structures. More...

This graph shows which files directly or indirectly include this file:

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_ttrap_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)
 

Detailed Description

Structures containing information about Nemea modules and macros for initialization and release of these structures.

Author
Marek Svepes svepe.nosp@m.mar@.nosp@m.fit.c.nosp@m.vut..nosp@m.cz
Date
2015

Definition in file trap_module_info.h.