summaryrefslogtreecommitdiff
path: root/curvetun_mgmt_servers.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-07-11 10:47:50 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-07-11 10:47:50 +0200
commit2b0325975aa3439f47f22211ffcc0bf2d3d8edcb (patch)
treeb4a387bd16738961f23b7c112c1a241b2280bd7c /curvetun_mgmt_servers.h
parent760f5b49a49c4b244a2da06a4123f884d891f8f6 (diff)
curvetun: renamed client, server, and management files
Rename those files so that they are conform to the rest of the files we have in our repository. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'curvetun_mgmt_servers.h')
-rw-r--r--curvetun_mgmt_servers.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/curvetun_mgmt_servers.h b/curvetun_mgmt_servers.h
new file mode 100644
index 0000000..9c5cd84
--- /dev/null
+++ b/curvetun_mgmt_servers.h
@@ -0,0 +1,15 @@
+#ifndef CT_SERVMGMT_H
+#define CT_SERVMGMT_H
+
+#include <stdio.h>
+#include "curve.h"
+
+extern void parse_userfile_and_generate_serv_store_or_die(char *homedir);
+extern void dump_serv_store(void);
+extern void get_serv_store_entry_by_alias(char *alias, size_t len,
+ char **host, char **port, int *udp);
+extern struct curve25519_proto *get_serv_store_entry_proto_inf(void);
+extern unsigned char *get_serv_store_entry_auth_token(void);
+extern void destroy_serv_store(void);
+
+#endif /* CT_SERVMGMT_H */