blob: a5568d4b0a5b5abc5790a41ed4bd08a366ffc372 [file] [log] [blame]
/*
* Author: Jeff Thompson
*
* BSD license, See the LICENSE file for more information.
*/
#include "BinaryXMLStructureDecoder.h"
void ndn_BinaryXMLStructureDecoder_init(struct ndn_BinaryXMLStructureDecoder *self) {
self->gotElementEnd = 0;
self->offset = 0;
self->level = 0;
self->state = ndn_BinaryXMLStructureDecoder_READ_HEADER_OR_CLOSE;
self->headerLength = 0;
self->useHeaderBuffer = 0;
self->nBytesToRead = 0;
}