Added initial C-based BinaryXMLDecoder
diff --git a/ndn-cpp/encoding/BinaryXMLStructureDecoder.c b/ndn-cpp/encoding/BinaryXMLStructureDecoder.c
new file mode 100644
index 0000000..a5568d4
--- /dev/null
+++ b/ndn-cpp/encoding/BinaryXMLStructureDecoder.c
@@ -0,0 +1,17 @@
+/*
+ * 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;
+}