summaryrefslogtreecommitdiffstats
path: root/passwd.h
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2008-08-06 14:45:14 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2008-08-06 14:45:14 +0200
commite51f1c49f9c1745012514dac79aaf8250ca1c036 (patch)
tree46017fb7c25dc9a60926173c543d7a7592208aca /passwd.h
downloadeurephia-e51f1c49f9c1745012514dac79aaf8250ca1c036.tar.gz
eurephia-e51f1c49f9c1745012514dac79aaf8250ca1c036.tar.xz
eurephia-e51f1c49f9c1745012514dac79aaf8250ca1c036.zip
Imported eurephia into git
Diffstat (limited to 'passwd.h')
-rw-r--r--passwd.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/passwd.h b/passwd.h
new file mode 100644
index 0000000..4275fc0
--- /dev/null
+++ b/passwd.h
@@ -0,0 +1,11 @@
+/* passwd.h -- Creates SHA1 hash from a clear text password
+
+ */
+
+#ifndef PASSWD_H
+#define PASSWD_H
+
+#define passwdhash(p) _passwdhash(p, __FILE__, __LINE__)
+char *_passwdhash(const char *pwd, const char *, const int);
+
+#endif