mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-28 15:06:02 -05:00
Make evbase_httpd non-static
Make the httpd event base available to httpd protocol handlers.
This commit is contained in:
parent
c9e91532b3
commit
affbae1c47
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user