1 /** 2 * RESTful HTTP control and WS interface 3 * 4 * Copyright (C) 2018 Christian Zuckschwerdt 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 */ 11 12 #ifndef INCLUDE_HTTP_SERVER_H_ 13 #define INCLUDE_HTTP_SERVER_H_ 14 15 #include "data.h" 16 17 struct mg_mgr; 18 struct r_cfg; 19 20 struct data_output *data_output_http_create(struct mg_mgr *mgr, const char *host, const char *port, struct r_cfg *cfg); 21 22 #endif /* INCLUDE_HTTP_SERVER_H_ */ 23