aboutsummaryrefslogtreecommitdiff
path: root/brlan.c
diff options
context:
space:
mode:
authormegazig <megazig@megazig-desktop.(none)>2009-05-07 07:15:23 -0500
committermegazig <megazig@megazig-desktop.(none)>2009-05-07 07:15:23 -0500
commitb956ff757275c2a4973fc7c6b662e5a5f47f29db (patch)
treedef8d351740ab9667ebcd52c4e88ba4473b1572c /brlan.c
parent84ade8be1b1f2e185ee224d29a584c0680603cce (diff)
added versioning
Diffstat (limited to 'brlan.c')
-rw-r--r--brlan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/brlan.c b/brlan.c
index 6a1ff95..329a803 100644
--- a/brlan.c
+++ b/brlan.c
@@ -237,6 +237,7 @@ void parse_brlan(char* filename, char *filenameout)
mxml_node_t *xmlan;
xml = mxmlNewXML("1.0");
xmlan = mxmlNewElement(xml, "xmlan");
+ mxmlElementSetAttrf(xmlan, "version", "%d.%d.%d%s", BENZIN_VERSION_MAJOR, BENZIN_VERSION_MINOR, BENZIN_VERSION_BUILD, BENZIN_VERSION_OTHER);
mxmlElementSetAttrf(xmlan, "framesize", "%lu", (long unsigned int)short_swap_bytes(pai1_header.framesize));
mxmlElementSetAttrf(xmlan, "flags", "%02x", pai1_header.flags);