about summary refs log tree commit diff
path: root/include/crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypt.h')
-rw-r--r--include/crypt.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/crypt.h b/include/crypt.h
new file mode 100644
index 00000000..07de2169
--- /dev/null
+++ b/include/crypt.h
@@ -0,0 +1,20 @@
+#ifndef _CRYPT_H
+#define _CRYPT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct crypt_data {
+	int initialized;
+	char __buf[256];
+};
+
+char *crypt(const char *, const char *);
+char *crypt_r(const char *, const char *, struct crypt_data *);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif