Make evbase_httpd non-static

Make the httpd event base available to httpd protocol handlers.
This commit is contained in:
Julien BLACHE 2010-03-06 10:27:39 +01:00
parent c9e91532b3
commit affbae1c47

View File

@ -112,13 +112,14 @@ static struct content_type_map ext2ctype[] =
{ NULL, NULL }
};
struct event_base *evbase_httpd;
#ifdef USE_EVENTFD
static int exit_efd;
#else
static int exit_pipe[2];
#endif
static int httpd_exit;
static struct event_base *evbase_httpd;
static struct event exitev;
static struct evhttp *evhttpd;
static pthread_t tid_httpd;