summaryrefslogtreecommitdiff
path: root/ct_servmgmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'ct_servmgmt.h')
-rw-r--r--ct_servmgmt.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/ct_servmgmt.h b/ct_servmgmt.h
new file mode 100644
index 0000000..228a08a
--- /dev/null
+++ b/ct_servmgmt.h
@@ -0,0 +1,21 @@
+/*
+ * netsniff-ng - the packet sniffing beast
+ * Copyright 2011 Daniel Borkmann.
+ * Subject to the GPL, version 2.
+ */
+
+#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 */