Merge infrastructure for SASL authentication support from flashback.

This includes all of the underlying support, but doesn't hook it up to the
/SERVER command yet, so it's not useable at this point.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@216 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2012-12-30 02:22:56 +00:00
parent 0d67cac5f7
commit 1541299fa1
6 changed files with 177 additions and 1 deletions

View File

@@ -165,6 +165,8 @@ typedef struct
int ssl_error;
SSL* ssl_fd;
#endif
char *sasl_nick;
char *sasl_pass;
/* recv_nick: the nickname of the last person to send you a privmsg */
char *recv_nick;
@@ -395,6 +397,10 @@ NotifyItem *get_server_notify_list (int);
void clean_split_server_list (int, time_t);
void write_server_list(char *);
void write_server_file (char *);
// void set_server_sasl_nick(int, const char *);
char *get_server_sasl_nick(int);
// void set_server_sasl_pass(int, const char *);
char *get_server_sasl_pass(int);
#define USER_MODE 0x0001
#define USER_MODE_A USER_MODE << 0