From: Jaroslav Kysela Date: Thu, 12 Feb 2015 17:51:03 +0000 (+0100) Subject: http: export http_server variable X-Git-Tag: v4.1~323 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=97f52f6d2085ca51c2b0ebe69e17ddc8d0fa4f8a;p=thirdparty%2Ftvheadend.git http: export http_server variable --- diff --git a/src/http.c b/src/http.c index 929c0f9df..4ee89bf5d 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 032f3bcd3..cedd136bb 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);