From 97f52f6d2085ca51c2b0ebe69e17ddc8d0fa4f8a Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 12 Feb 2015 18:51:03 +0100 Subject: [PATCH] http: export http_server variable --- src/http.c | 2 +- src/http.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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);