Rename crypt_msg() / decrypt_msg() to sed_encrypt_msg() / sed_decrypt_msg() and move to ctcp.c

These functions are really specific to parsing and creating CTCP SED messages, which means they belong
in ctcp.c with the other CTCP code.

Also remove unnecessary inclusions of encrypt.h and ctcp.h.
This commit is contained in:
Kevin Easton
2017-06-28 22:13:33 +10:00
parent 9b0d3e4ab5
commit 3c2028e167
14 changed files with 125 additions and 134 deletions

View File

@@ -71,6 +71,8 @@ extern char * do_notice_ctcp (char *, char *, char *);
extern int in_ctcp (void);
extern void send_ctcp (int, char *, int, char *, ...);
extern int get_ctcp_val (char *);
extern char *sed_encrypt_msg(char *, const char *);
extern char *sed_decrypt_msg(const char *, const char *);
void BX_split_CTCP (char *, char *, char *);