nmsg
0.9.0
|
Structure mapping protocol buffer schema fields to nmsg_msgmod_field_type values for "transparent" modules. More...
Data Fields | |
nmsg_msgmod_field_type | type |
Intended (nmsg) type of this protobuf field. More... | |
const char * | name |
Name of the field. More... | |
unsigned | flags |
Flags for this field. More... | |
nmsg_msgmod_field_print_fp | |
Optional custom field printer function. More... | |
nmsg_msgmod_field_get_fp | get |
Optional custom field getter function. More... | |
Structure mapping protocol buffer schema fields to nmsg_msgmod_field_type values for "transparent" modules.
In order to map a protocol buffer schema into a transparent message module the module must export (in a struct nmsg_msgmod) an array of these structures indicating the intended nmsg field types of each field.
Definition at line 103 of file msgmod_plugin.h.
nmsg_msgmod_field_type nmsg_msgmod_field::type |
Intended (nmsg) type of this protobuf field.
Definition at line 105 of file msgmod_plugin.h.
const char* nmsg_msgmod_field::name |
Name of the field.
Definition at line 108 of file msgmod_plugin.h.
unsigned nmsg_msgmod_field::flags |
Flags for this field.
Definition at line 111 of file msgmod_plugin.h.
nmsg_msgmod_field_print_fp nmsg_msgmod_field::print |
Optional custom field printer function.
Definition at line 114 of file msgmod_plugin.h.
nmsg_msgmod_field_get_fp nmsg_msgmod_field::get |
Optional custom field getter function.
Definition at line 117 of file msgmod_plugin.h.