From 131f5592347929c3d28a4a9406e242e2cfdd5db9 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 19 Aug 2009 17:55:03 +0200 Subject: Write data to an XML file. File path for the XML file is read per channel from the 'xmlpath' option. --- main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.c') 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(); } -- cgit v1.2.3