From ef2c53e36c9419aa1d311f62253646c7e85dabab Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 30 Mar 2012 11:24:34 +0200 Subject: Assembled the oberve protocol. --- src/observe_proto.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/observe_proto.h') diff --git a/src/observe_proto.h b/src/observe_proto.h index fea9ebd..6ef1e66 100644 --- a/src/observe_proto.h +++ b/src/observe_proto.h @@ -27,4 +27,18 @@ */ #ifndef __MUNIA_OBSERVE_PROTO_H__ #define __MUNIA_OBSERVE_PROTO_H__ + +#include + +#include + +int callback_lws_observe(struct libwebsocket_context *context, + struct libwebsocket *wsi, + enum libwebsocket_callback_reasons reason, + void *user, void *in, size_t len); + +struct per_session_data__lws_observe { + struct libwebsocket *wsi; +}; + #endif/*__MUNIA_OBSERVE_PROTO_H__*/ -- cgit v1.2.3