diff options
author | TingPing <tingping@tingping.se> | 2013-09-07 19:00:40 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2013-09-07 19:00:40 -0400 |
commit | bb1062ae2a623d74362b92c2d025a05c03fe7694 (patch) | |
tree | b40b4676e40403e398f76c4c6584c91a65545857 /src/common/hexchat.h | |
parent | 5feeb717a09d1fccc74e015bd71bc38884bfa6f4 (diff) | |
parent | bdb18828e36340c1800a0eec9f4b5edc6ffae2b2 (diff) |
Merge branch 'saslmech'
Diffstat (limited to 'src/common/hexchat.h')
-rw-r--r-- | src/common/hexchat.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/hexchat.h b/src/common/hexchat.h index 074d5a22..3946b643 100644 --- a/src/common/hexchat.h +++ b/src/common/hexchat.h @@ -461,6 +461,12 @@ struct msproxy_state_t unsigned char seq_sent; /* seq number of last packet sent. */ }; +/* SASL Mechanisms */ +#define MECH_PLAIN 0 +#define MECH_BLOWFISH 1 +#define MECH_AES 2 +#define MECH_EXTERNAL 3 + typedef struct server { /* server control operations (in server*.c) */ @@ -598,9 +604,13 @@ typedef struct server unsigned int have_sasl:1; /* SASL capability */ unsigned int have_except:1; /* ban exemptions +e */ unsigned int have_invite:1; /* invite exemptions +I */ + unsigned int have_cert:1; /* have loaded a cert */ unsigned int using_cp1255:1; /* encoding is CP1255/WINDOWS-1255? */ unsigned int using_irc:1; /* encoding is "IRC" (CP1252/UTF-8 hybrid)? */ unsigned int use_who:1; /* whether to use WHO command to get dcc_ip */ + unsigned int sasl_mech; /* mechanism for sasl auth */ + unsigned int sent_saslauth:1; /* have sent AUTHENICATE yet */ + unsigned int sent_capend:1; /* have sent CAP END yet */ #ifdef USE_OPENSSL unsigned int use_ssl:1; /* is server SSL capable? */ unsigned int accept_invalid_cert:1;/* ignore result of server's cert. verify */ |