You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
416 B

12 years ago
#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;
}