summaryrefslogtreecommitdiff
path: root/src/observe_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/observe_proto.h')
-rw-r--r--src/observe_proto.h14
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__*/