hl7parse
|
keep track of the number of the same segments in a message_t More...
#include <address.h>
Public Attributes | |
unsigned int | length |
unsigned int | _allocated |
char ** | segments |
int * | count |
keep track of the number of the same segments in a message_t
This struct keeps track of the number of segments with the same name. This is important when search certain elements, to make sure we do not overrun buffers.
All memory is allocated dynamically, _allocated
keeps track of the length of allocated space in count
and segments
. length
keeps track of the used elements.
The count of a segment
can be foudn at the same index in count
.
unsigned int seg_count::_allocated |
size of allocated elements in count and segments
int* seg_count::count |
array of numbers of segments
unsigned int seg_count::length |
number of elements stored in count and segments
char** seg_count::segments |
array of segment names