nmsg  0.9.0
Data Fields
nmsg_msgmod_field Struct Reference

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 print
 Optional custom field printer function. More...
 
nmsg_msgmod_field_get_fp get
 Optional custom field getter function. More...
 

Detailed Description

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.

Field Documentation

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.


The documentation for this struct was generated from the following file: