summaryrefslogtreecommitdiff
path: root/vpn/plugins/vici-client.h
diff options
context:
space:
mode:
authorchleun.moon <chleun.moon@samsung.com>2017-02-24 14:36:58 +0900
committerchleun.moon <chleun.moon@samsung.com>2017-02-24 16:29:51 +0900
commit376f28aa4b82ec003c8579968ba42ff3050b10c5 (patch)
treeb94301abb0de0d4aa3ba95394ec6806ef4606439 /vpn/plugins/vici-client.h
parent21e92ee0e2531e80b5bda990a99bbe72abf31991 (diff)
downloadconnman-376f28aa4b82ec003c8579968ba42ff3050b10c5.tar.gz
connman-376f28aa4b82ec003c8579968ba42ff3050b10c5.tar.bz2
connman-376f28aa4b82ec003c8579968ba42ff3050b10c5.zip
Add ipsec plugin
Change-Id: Iafe144233e8dd8bc066e00340a5853e4e16d925a Signed-off-by: cheoleun <chleun.moon@samsung.com>
Diffstat (limited to 'vpn/plugins/vici-client.h')
-rw-r--r--vpn/plugins/vici-client.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/vpn/plugins/vici-client.h b/vpn/plugins/vici-client.h
new file mode 100644
index 00000000..3a60f313
--- /dev/null
+++ b/vpn/plugins/vici-client.h
@@ -0,0 +1,14 @@
+#ifndef __VICI_CLIENT_H
+#define __VICI_CLIENT_H
+
+#define VICI_DEFAULT_URI "/var/run/charon.vici"
+
+#define VICI_REQUEST_LOAD_CONN "load-conn"
+#define VICI_REQUEST_LOAD_SHARED "load-shared"
+#define VICI_REQUEST_LOAD_CERT "load-cert"
+
+int vici_client_initialize();
+int vici_client_deinitialize();
+int vici_client_send_request(const char* cmd, struct section* root);
+
+#endif /* __VICI_CLIENT_H */