summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2009-08-19 17:55:03 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2009-08-19 17:55:03 +0200
commit131f5592347929c3d28a4a9406e242e2cfdd5db9 (patch)
treea7434fb93b1856665c34380a77f655a54bae0332 /main.c
parent44f3e1486fb5fd45644683af83aaaf27047e4250 (diff)
Write data to an XML file.
File path for the XML file is read per channel from the 'xmlpath' option.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 8175dbe..1ccca8a 100644
--- a/main.c
+++ b/main.c
@@ -8,6 +8,7 @@
#include "channel.h"
#include "user.h"
#include "word.h"
+#include "export_xml.h"
#define NICK_BUFFER_SIZE 0x100
#define TEXT_BUFFER_SIZE 0x400
@@ -109,6 +110,7 @@ int main(int argc, char **argv) {
file = file->next;
}
+ export_xml(channel, users);
user_free();
word_free();
}