diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-02-08 20:26:14 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2019-02-09 15:40:28 +0100 |
commit | 1ae51ff94d0f1f27a4e4cc657371578db13c3ca1 (patch) | |
tree | f383cb73afa171ac10ab91eafea9f11804042744 /src/http.h | |
parent | fb958041310617c7aeef36a8dc9041e2a51fae6d (diff) |
Make code compile again (fix bitrot dating back from 2013).
Diffstat (limited to 'src/http.h')
-rw-r--r-- | src/http.h | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -25,8 +25,7 @@ * along with Munia; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#ifndef __MUNIA_HTTP_H__ -#define __MUNIA_HTTP_H__ +#pragma once #include <stdlib.h> @@ -34,10 +33,7 @@ #define LOCAL_RESOURCE_PATH "." -/* this protocol server (always the first one) just knows how to do HTTP */ -int callback_http(struct libwebsocket_context * context, - struct libwebsocket *wsi, - enum libwebsocket_callback_reasons reason, void *user, +// this protocol server (always the first one) just knows how to do HTTP +int callback_http(struct lws *wsi, + enum lws_callback_reasons reason, void *user, void *in, size_t len); - -#endif/*__MUNIA_HTTP_H__*/ |