wxmppd/src/wxmppd.c
Gergely Polonkai (W00d5t0ck) 5cc379461a Initial version
2011-01-25 15:51:07 +01:00

28 lines
416 B
C

#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;
}