diff options
Diffstat (limited to 'irc.h')
| -rw-r--r-- | irc.h | 9 | 
1 files changed, 8 insertions, 1 deletions
| @@ -26,8 +26,10 @@  #ifndef _IRC_H  #define _IRC_H +#include "otr.h" +  #define IRC_MAX_LINE 512 -#define IRC_MAX_ARGS 8 +#define IRC_MAX_ARGS 16  #define IRC_LOGIN_TIMEOUT 60  #define IRC_PING_STRING "PinglBee" @@ -85,6 +87,8 @@ typedef struct irc  	gint ping_source_id;  	gint login_source_id; /* To slightly delay some events at login time. */ +	otr_t *otr;            /* OTR state and book keeping */ +	  	struct bee *b;  } irc_t; @@ -92,6 +96,9 @@ typedef enum  {  	/* Replaced with iu->last_channel IRC_USER_PRIVATE = 1, */  	IRC_USER_AWAY = 2, +	 +	IRC_USER_OTR_ENCRYPTED = 0x10000, +	IRC_USER_OTR_TRUSTED   = 0x20000,  } irc_user_flags_t;  typedef struct irc_user | 
