Lines Matching refs:evbase
106 struct event_base *evbase;
263 app_ctx->evbase, fd, ssl, BUFFEREVENT_SSL_ACCEPTING,
752 static void start_listen(struct event_base *evbase, const char *service,
773 evbase, acceptcb, app_ctx, LEV_OPT_CLOSE_ON_FREE | LEV_OPT_REUSEABLE,
785 struct event_base *evbase) {
788 app_ctx->evbase = evbase;
795 struct event_base *evbase;
798 evbase = event_base_new();
799 initialize_app_context(&app_ctx, ssl_ctx, evbase);
800 start_listen(evbase, service, &app_ctx);
802 event_base_loop(evbase, 0);
804 event_base_free(evbase);