Plugin::openModule("foo1");
Plugin::openModule("accounts");
int main(){	signal(SIGPIPE, SIG_IGN);	signal(SIGALRM, SIG_IGN);#ifdef LINUX	signal(SIGCLD, SIG_IGN);#else	signal(SIGCHLD, SIG_IGN);#endif#ifdef HAVE_LIBOOP_EVENT	event_init();#endif#ifndef HAVE_LIBOOP_EVENT	oop_source_sys* system;	if((system=oop_sys_new()) == NULL){		fprintf(stderr, "Malloc failure.\n");		exit(1);	}	src = oop_sys_source(system);	fprintf(stderr, "Using liboop system event source: select() will be used.\n");#else	src = oop_event_new();	fprintf(stderr, "Using libevent source adapter\n", src);#endif	//Set up ADNS	adns = oop_adns_new(src,(adns_initflags)0,NULL);	//try loading	Plugin::init();	Plugin::openModule("foo1");	Settings::readFromXML();#ifndef HAVE_LIBOOP_EVENT	oop_sys_run(system);#else	event_dispatch();#endif	//Init random number generator	srand(time(NULL));	return 0;}