]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
http: export http_server variable
authorJaroslav Kysela <perex@perex.cz>
Thu, 12 Feb 2015 17:51:03 +0000 (18:51 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 11 Mar 2015 20:41:12 +0000 (21:41 +0100)
src/http.c
src/http.h

index 929c0f9dfc7d0030b40cf8a62d2a0fcce49523a0..4ee89bf5dfe72a216f5185fb68cb1dd07bc6b805 100644 (file)
@@ -37,7 +37,7 @@
 #include "notify.h"
 #include "channels.h"
 
-static void *http_server;
+void *http_server;
 
 static LIST_HEAD(, http_path) http_paths;
 
index 032f3bcd31d8d63808f263c4d9228787b1554777..cedd136bb705da14dcab16473bf430b15dc6c87b 100644 (file)
@@ -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);