summaryrefslogtreecommitdiff
path: root/src/login/mt_rand.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-26 13:09:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-26 13:09:29 +0300
commit974af7e3663c5f72091f8afd91e4ed732c42b20c (patch)
tree5c2518366a0c51f1b50735f93e786a0834dfacb6 /src/login/mt_rand.h
parentf84b2ad1c413f7aefc1a9c6f029f6ac67eb8d51d (diff)
downloadevol-hercules-974af7e3663c5f72091f8afd91e4ed732c42b20c.tar.gz
evol-hercules-974af7e3663c5f72091f8afd91e4ed732c42b20c.tar.bz2
evol-hercules-974af7e3663c5f72091f8afd91e4ed732c42b20c.tar.xz
evol-hercules-974af7e3663c5f72091f8afd91e4ed732c42b20c.zip
login: add way to check hashed passwords in old tmw/evol way.
Diffstat (limited to 'src/login/mt_rand.h')
-rw-r--r--src/login/mt_rand.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/login/mt_rand.h b/src/login/mt_rand.h
new file mode 100644
index 0000000..d798fee
--- /dev/null
+++ b/src/login/mt_rand.h
@@ -0,0 +1,9 @@
+#ifndef __mt_rand_h
+#define __mt_rand_h
+
+void mt_seed (unsigned long seed);
+unsigned long mt_reload (void);
+unsigned long mt_random (void);
+int mt_rand (void);
+
+#endif /* __mt_rand_h */