summaryrefslogtreecommitdiff
path: root/src/protocol/internal/ssh_crypto_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/internal/ssh_crypto_common.h')
-rw-r--r--src/protocol/internal/ssh_crypto_common.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/protocol/internal/ssh_crypto_common.h b/src/protocol/internal/ssh_crypto_common.h
new file mode 100644
index 0000000..c50029c
--- /dev/null
+++ b/src/protocol/internal/ssh_crypto_common.h
@@ -0,0 +1,20 @@
+#ifndef SSH_CRYPTO_COMMON_H
+#define SSH_CRYPTO_COMMON_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+ typedef struct
+ {
+ const char *name;
+ void *f;
+ } *name_sp, name_list[]; /* Do not write as *name_list!!! */
+
+ int search_name(name_list l, const char *s);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif