Jeff Thompson | 76317aa | 2013-06-25 19:11:48 -0700 | [diff] [blame] | 1 | /* |
2 | * Author: Jeff Thompson | ||||
3 | * | ||||
4 | * BSD license, See the LICENSE file for more information. | ||||
5 | */ | ||||
6 | |||||
7 | #include "BinaryXMLStructureDecoder.h" | ||||
8 | |||||
9 | void ndn_BinaryXMLStructureDecoder_init(struct ndn_BinaryXMLStructureDecoder *self) { | ||||
10 | self->gotElementEnd = 0; | ||||
11 | self->offset = 0; | ||||
12 | self->level = 0; | ||||
13 | self->state = ndn_BinaryXMLStructureDecoder_READ_HEADER_OR_CLOSE; | ||||
14 | self->headerLength = 0; | ||||
15 | self->useHeaderBuffer = 0; | ||||
16 | self->nBytesToRead = 0; | ||||
17 | } |