diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-03-30 11:24:34 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-03-30 11:24:34 +0200 |
commit | ef2c53e36c9419aa1d311f62253646c7e85dabab (patch) | |
tree | 8e5bb1912d81c6a26b19d2ecf4df6e75febfe889 /src/observe_proto.h | |
parent | 69cb3c171df31efab500ae87146c35ace6f92db3 (diff) |
Assembled the oberve protocol.
Diffstat (limited to 'src/observe_proto.h')
-rw-r--r-- | src/observe_proto.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 <stdlib.h> + +#include <libwebsockets.h> + +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__*/ |