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:
@@ -134,6 +134,7 @@ char * get_userhost (void);
|
||||
|
||||
char * urlencode (const char *);
|
||||
char * urldecode (char *);
|
||||
char * base64_encode (const void *data, size_t size);
|
||||
|
||||
/* From words.c */
|
||||
#define SOS -32767
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user