hl7parse
|
structure to track delmiter fields in a fieldset More...
#include <node.h>
Public Attributes | |
unsigned char * | field |
unsigned char | delim [MAX_FIELDS] |
unsigned int | pos [MAX_FIELDS] |
unsigned int | delim_l |
size_t | length |
structure to track delmiter fields in a fieldset
This is a private data structure for parse_segment()
. It keeps track of all delimiters in a segment while looping over it byte by byte. process_node()
the uses it to calculate bounds and structure of the message while extracting the data and structure.
This is a parser internal structure used to keep track of delimiters.
parse_segment()
unsigned char raw_field_t::delim[MAX_FIELDS] |
array of delimiter characters
unsigned int raw_field_t::delim_l |
length of the delimiter array
unsigned char* raw_field_t::field |
byte array containing the raw field character data including delimiters
size_t raw_field_t::length |
length of the field's data
unsigned int raw_field_t::pos[MAX_FIELDS] |
array of positions of the above delimiting characters