Home | History | Annotate | Download | only in test

Lines Matching defs:base

64 /* set if a test needs to call loopexit on a base */
65 static struct event_base *base;
76 http_setup(short *pport, struct event_base *base)
83 myhttp = evhttp_new(base);
189 if (base)
190 event_base_loopexit(base, NULL);
1084 fprintf(stdout, "Testing HTTP Server Event Base: ");
1086 base = event_init();
1089 * create another bogus base - which is being used by all subsequen
1094 http = http_setup(&port, base);
1101 bufferevent_base_set(base, bev);
1111 event_base_dispatch(base);
1118 event_base_free(base);
1119 base = NULL;