From 764c7d1009feda7db971ea7ac6bcb2a4acef0efc Mon Sep 17 00:00:00 2001 From: Sven Moritz Hallberg Date: Sun, 3 Feb 2008 22:30:03 +0100 Subject: OTR support, first checkin --- bitlbee.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bitlbee.h') diff --git a/bitlbee.h b/bitlbee.h index 23ec64b1..b60d4b90 100644 --- a/bitlbee.h +++ b/bitlbee.h @@ -132,6 +132,7 @@ extern char *CONF_FILE; #include "sock.h" #include "misc.h" #include "proxy.h" +#include "otr.h" typedef struct global { /* In forked mode, child processes store the fd of the IPC socket here. */ @@ -142,6 +143,7 @@ typedef struct global { GList *storage; /* The first backend in the list will be used for saving */ char *helpfile; int restart; + OtrlMessageAppOps otr_ops; /* collects interface functions required by OTR */ } global_t; int bitlbee_daemon_init( void ); -- cgit v1.2.3 From 823de9d44f262ea2364ac8ec6a1e18e0f7dab658 Mon Sep 17 00:00:00 2001 From: Sven Moritz Hallberg Date: Thu, 12 Mar 2009 20:10:06 +0100 Subject: commit updates by ashish shukla --- bitlbee.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bitlbee.h') diff --git a/bitlbee.h b/bitlbee.h index f11d275d..5543b501 100644 --- a/bitlbee.h +++ b/bitlbee.h @@ -31,8 +31,11 @@ /* Depend on Windows 2000 for now since we need getaddrinfo() */ #define _WIN32_WINNT 0x0501 +/* Depend on Windows 2000 for now since we need getaddrinfo() */ +#define _WIN32_WINNT 0x0501 + #define PACKAGE "BitlBee" -#define BITLBEE_VERSION "1.2.1" +#define BITLBEE_VERSION "1.2.3" #define VERSION BITLBEE_VERSION #define MAX_STRING 511 -- cgit v1.2.3 From 83586911a0aa768ed196051950ebd8ffce37d467 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Tue, 31 Aug 2010 22:05:36 +0200 Subject: Added root_command_add() and use it to create the "otr" command. --- bitlbee.h | 1 + 1 file changed, 1 insertion(+) (limited to 'bitlbee.h') diff --git a/bitlbee.h b/bitlbee.h index ae8f34d9..e312dc4c 100644 --- a/bitlbee.h +++ b/bitlbee.h @@ -164,6 +164,7 @@ gboolean bitlbee_io_current_client_write( gpointer data, gint source, b_input_co void root_command_string( irc_t *irc, char *command ); void root_command( irc_t *irc, char *command[] ); +gboolean root_command_add( const char *command, int params, void (*func)(irc_t *, char **args), int flags ); gboolean cmd_identify_finish( gpointer data, gint fd, b_input_condition cond ); gboolean bitlbee_shutdown( gpointer data, gint fd, b_input_condition cond ); -- cgit v1.2.3 From 0c85c08d210e16bb10dc283b4a1478ce53c0c1b1 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 1 Sep 2010 01:18:21 +0200 Subject: Pluginify this thing a little bit. Not so much in the dynamically loadable sense of the word, more in a way that core files don't have to include otr.h. --- bitlbee.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'bitlbee.h') diff --git a/bitlbee.h b/bitlbee.h index e312dc4c..656e059a 100644 --- a/bitlbee.h +++ b/bitlbee.h @@ -141,7 +141,6 @@ #include "sock.h" #include "misc.h" #include "proxy.h" -#include "otr.h" typedef struct global { /* In forked mode, child processes store the fd of the IPC socket here. */ @@ -153,7 +152,6 @@ typedef struct global { GList *storage; /* The first backend in the list will be used for saving */ char *helpfile; int restart; - OtrlMessageAppOps otr_ops; /* collects interface functions required by OTR */ } global_t; int bitlbee_daemon_init( void ); -- cgit v1.2.3