oop_event_delete();
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);	}	oop_source* src = oop_sys_source(system);	fprintf(stderr, "Using liboop system event source (select() will be used)\n", src);#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);	Hub* tmp = new Hub();#ifndef HAVE_LIBOOP_EVENT	oop_sys_run(system);	oop_event_delete();#else	event_dispatch();#endif	delete tmp;	return 0;}