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:
@@ -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 *);
|
||||
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
#ifndef ENCRYPT_H_
|
||||
#define ENCRYPT_H_
|
||||
|
||||
char *crypt_msg(char *, const char *);
|
||||
char *decrypt_msg(const char *, const char *);
|
||||
void encrypt_cmd(char *, char *, char *, char *);
|
||||
const char *is_crypted(char *);
|
||||
void BX_my_decrypt(char *, int, const char *);
|
||||
|
||||
Reference in New Issue
Block a user