summaryrefslogtreecommitdiff
path: root/include/extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/extern.h')
-rw-r--r--include/extern.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/include/extern.h b/include/extern.h
index ed9b86e40..81669993f 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -181,17 +181,10 @@ E void hostserv(User *u, char *buf);
E void HostServSyncVhosts(NickAlias *na);
/**** encrypt.c ****/
-E void initEncryption();
-E int enc_encrypt(const char *src, int len, char *dest, int size);
-E int enc_encrypt_in_place(char *buf, int size);
-E int enc_encrypt_check_len(int passlen, int bufsize);
-E int enc_decrypt(const char *src, char *dest, int size);
-E int enc_check_password(const char *plaintext, char *password);
-E void encmodule_encrypt(int (*func)(const char *src, int len, char *dest, int size));
-E void encmodule_encrypt_in_place(int (*func)(char *buf, int size));
-E void encmodule_encrypt_check_len(int (*func)(int passlen, int bufsize));
-E void encmodule_decrypt(int (*func)(const char *src, char *dest, int size));
-E void encmodule_check_password(int (*func)(const char *plaintext, const char *password));
+E int enc_encrypt(const std::string &src, std::string &dest);
+E int enc_encrypt_in_place(std::string &buf);
+E int enc_decrypt(std::string &src, std::string &dest);
+E int enc_check_password(std::string &plaintext, std::string &password);
/**** hostserv.c ****/
E void get_hostserv_stats(long *nrec, long *memuse);