stack for BER constructed items More...
#include <odr-priv.h>
Data Fields | |
| const unsigned char * | base |
| int | base_offset |
| int | len |
| const unsigned 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 64 of file odr-priv.h.
| const unsigned char* odr_constack::base |
Definition at line 66 of file odr-priv.h.
Referenced by odr_constructed_begin(), odr_constructed_end(), and odr_constructed_more().
starting point of data
Definition at line 67 of file odr-priv.h.
Referenced by odr_constructed_begin(), and odr_constructed_end().
Definition at line 68 of file odr-priv.h.
Referenced by odr_constructed_begin(), odr_constructed_end(), and odr_constructed_more().
where to encode length
Definition at line 71 of file odr-priv.h.
Referenced by odr_constructed_begin(), and odr_constructed_end().
| const unsigned char* odr_constack::lenb |
length of data, if known, else -1 (decoding only)
Definition at line 70 of file odr-priv.h.
Referenced by odr_constructed_begin().
Definition at line 72 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 73 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 76 of file odr-priv.h.
Referenced by odr_constructed_begin().
| struct odr_constack* odr_constack::prev |
name of stack entry
Definition at line 75 of file odr-priv.h.
Referenced by odr_constructed_begin(), and odr_get_element_path().
1.6.3