diff --git a/src/http.c b/src/http.c index 929c0f9d..4ee89bf5 100644 --- a/src/http.c +++ b/src/http.c @@ -37,7 +37,7 @@ #include "notify.h" #include "channels.h" -static void *http_server; +void *http_server; static LIST_HEAD(, http_path) http_paths; diff --git a/src/http.h b/src/http.h index 032f3bcd..cedd136b 100644 --- a/src/http.h +++ b/src/http.h @@ -146,6 +146,7 @@ typedef struct http_connection { } http_connection_t; +extern void *http_server; const char *http_cmd2str(int val); int http_str2cmd(const char *str);