Lines Matching refs:evbase
106 struct event_base *evbase; member
255 app_ctx->evbase, fd, ssl, BUFFEREVENT_SSL_ACCEPTING, in create_http2_session_data()
744 static void start_listen(struct event_base *evbase, const char *service, in start_listen() argument
765 evbase, acceptcb, app_ctx, LEV_OPT_CLOSE_ON_FREE | LEV_OPT_REUSEABLE, in start_listen()
777 struct event_base *evbase) { in initialize_app_context() argument
780 app_ctx->evbase = evbase; in initialize_app_context()
787 struct event_base *evbase; in run() local
790 evbase = event_base_new(); in run()
791 initialize_app_context(&app_ctx, ssl_ctx, evbase); in run()
792 start_listen(evbase, service, &app_ctx); in run()
794 event_base_loop(evbase, 0); in run()
796 event_base_free(evbase); in run()