Initial version

This commit is contained in:
Gergely Polonkai (W00d5t0ck)
2011-01-25 15:51:07 +01:00
commit 5cc379461a
16 changed files with 1218 additions and 0 deletions

27
src/wxmppd.c Normal file
View File

@@ -0,0 +1,27 @@
#define CONFIG_DIR "/home/polesz/Projektek/wxmppd/data"
#include <stdio.h>
#include <sys/types.h>
#include <dirent.h>
#include <errno.h>
#include <libxml/parser.h>
#include "configfiles.h"
char *config_dir = NULL;
int
main(int argc, char **argv)
{
xmlInitParser();
LIBXML_TEST_VERSION;
printf("%s\n", SYSCONFDIR);
wxmppd_processConfigfile(CONFIG_DIR "/wxmppd.xml", 1);
xmlCleanupParser();
return 0;
}