diff options
| author | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-06-29 04:47:00 +0000 |
|---|---|---|
| committer | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-06-29 04:47:00 +0000 |
| commit | 15687a7c9eb882edc151870a4f27ac1e8dfd61ce (patch) | |
| tree | a1180b8d0426a2f9471527efcca3bdd55340f433 /include/encrypt.h | |
| parent | 712cbb540c41e56115061be296f419e21111bedd (diff) | |
changed encryption modules to use the new module API
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2342 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/encrypt.h')
| -rw-r--r-- | include/encrypt.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/encrypt.h b/include/encrypt.h deleted file mode 100644 index 3ed93b6de..000000000 --- a/include/encrypt.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Include file for high-level encryption routines. - * - * (C) 2003-2009 Anope Team - * Contact us at team@anope.org - * - * Please read COPYING and README for furhter details. - * - * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * - * $Id$ - * - */ - -typedef struct encryption_ { - int (*encrypt)(const char *src, int len, char *dest, int size); - int (*encrypt_in_place)(char *buf, int size); - int (*encrypt_check_len)(int passlen, int bufsize); - int (*decrypt)(const char *src, char *dest, int size); - int (*check_password)(const char *plaintext, const char *password); -} Encryption; - |
