aboutsummaryrefslogtreecommitdiff
path: root/include/musl/crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/musl/crypt.h')
-rw-r--r--include/musl/crypt.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/musl/crypt.h b/include/musl/crypt.h
new file mode 100644
index 0000000..07de216
--- /dev/null
+++ b/include/musl/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