mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-05 18:58:09 -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 }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct event_base *evbase_httpd;
|
||||||
|
|
||||||
#ifdef USE_EVENTFD
|
#ifdef USE_EVENTFD
|
||||||
static int exit_efd;
|
static int exit_efd;
|
||||||
#else
|
#else
|
||||||
static int exit_pipe[2];
|
static int exit_pipe[2];
|
||||||
#endif
|
#endif
|
||||||
static int httpd_exit;
|
static int httpd_exit;
|
||||||
static struct event_base *evbase_httpd;
|
|
||||||
static struct event exitev;
|
static struct event exitev;
|
||||||
static struct evhttp *evhttpd;
|
static struct evhttp *evhttpd;
|
||||||
static pthread_t tid_httpd;
|
static pthread_t tid_httpd;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user