Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/tcf/framework/channel_lws.h')
-rw-r--r--agent/tcf/framework/channel_lws.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/agent/tcf/framework/channel_lws.h b/agent/tcf/framework/channel_lws.h
new file mode 100644
index 00000000..8e185c6d
--- /dev/null
+++ b/agent/tcf/framework/channel_lws.h
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2016 Wind River Systems, Inc. and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * and Eclipse Distribution License v1.0 which accompany this distribution.
+ * The Eclipse Public License is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ * and the Eclipse Distribution License is available at
+ * http://www.eclipse.org/org/documents/edl-v10.php.
+ * You may elect to redistribute this code under either of these licenses.
+ *
+ * Contributors:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+
+/*
+ * WebSocket channel interface based on libwebsockets
+ */
+
+#ifndef D_channel_lws
+#define D_channel_lws
+
+#include <tcf/config.h>
+
+#if ENABLE_LibWebSockets
+#include <tcf/framework/channel.h>
+
+extern void channel_lws_get_properties(Channel * c, char *** prop_names, char *** prop_values, unsigned * prop_cnt);
+extern void ini_lws(void);
+
+#endif /* ENABLE_LibWebSockets */
+#endif /* D_channel_lws */

Back to the top