+#include "tagmap.h"
+
+typedef struct _tag_internals
+{
+ int (*parse)(struct _tag_internals*);
+ int (*fillTAG)(struct _tag_internals*);
+ void (*dealloc)(struct _tag_internals*);
+ int datasize;
+ void*data;
+ PyObject* (*getattr)(struct _tag_internals*, char* a);
+ int (*setattr)(struct _tag_internals*, char* a, PyObject*val);
+ PyMethodDef* tagfunctions;
+ TAG*tag;
+ PyObject* tagmap;
+} tag_internals_t;
+
+PyObject* tag_new(tag_internals_t*tag_internals);