YAZ
5.34.0
|
stack for BER constructed items More...
#include <odr-priv.h>
Data Fields | |
const char * | base |
int | base_offset |
int | len |
const char * | lenb |
int | len_offset |
int | lenlen |
const char * | name |
struct odr_constack * | prev |
struct odr_constack * | next |
stack for BER constructed items
data structure for con stack.. a little peculiar. Since we can't deallocate memory we reuse stack items (popped items gets reused)
* +---+ +---+ +---+ +---+ * NULL -|p n|-----|p n|-----|p n|-----|p n|-- NULL * +---+ +---+ +---+ +---+ * | | * stack_first stack_top reused item *
Definition at line 63 of file odr-priv.h.
const char* odr_constack::base |
Definition at line 65 of file odr-priv.h.
Referenced by odr_constructed_begin(), odr_constructed_end(), and odr_constructed_more().
int odr_constack::base_offset |
starting point of data
Definition at line 66 of file odr-priv.h.
Referenced by odr_constructed_begin(), and odr_constructed_end().
int odr_constack::len |
Definition at line 67 of file odr-priv.h.
Referenced by odr_constructed_begin(), odr_constructed_end(), odr_constructed_more(), and odr_FILE_write().
int odr_constack::len_offset |
where to encode length
Definition at line 70 of file odr-priv.h.
Referenced by odr_constructed_begin(), and odr_constructed_end().
const char* odr_constack::lenb |
length of data, if known, else -1 (decoding only)
Definition at line 69 of file odr-priv.h.
Referenced by odr_constructed_begin().
int odr_constack::lenlen |
Definition at line 71 of file odr-priv.h.
Referenced by odr_constructed_begin(), and odr_constructed_end().
const char* odr_constack::name |
length of length-field
Definition at line 72 of file odr-priv.h.
Referenced by odr_constructed_begin(), and odr_get_element_path().
struct odr_constack* odr_constack::next |
pointer back in stack
Definition at line 75 of file odr-priv.h.
Referenced by odr_constructed_begin().
struct odr_constack* odr_constack::prev |
name of stack entry
Definition at line 74 of file odr-priv.h.
Referenced by odr_constructed_begin(), and odr_get_element_path().