From 6c2404e051cb6a235f985797c149af0791f44bbd Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Tue, 6 Jul 2010 22:44:52 +0100 Subject: First part of the handshake, including sending a file descriptor to the IPC master. --- ipc.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ipc.h') diff --git a/ipc.h b/ipc.h index 0e71c520..bf5f0454 100644 --- a/ipc.h +++ b/ipc.h @@ -36,6 +36,12 @@ struct bitlbee_child char *host; char *nick; char *realname; + + char *password; + + /* For takeovers: */ + struct bitlbee_child *to_child; + int to_fd; }; -- cgit v1.2.3 From f1c2b21af3a51796b747ca4dbc2cdec9611efc5d Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 10 Jul 2010 16:08:02 +0100 Subject: Cleanup. Move some code to a more appropriate location, and show the old connection a quit message instead of just breaking the connection. --- ipc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ipc.h') diff --git a/ipc.h b/ipc.h index bf5f0454..068996a7 100644 --- a/ipc.h +++ b/ipc.h @@ -54,6 +54,8 @@ void ipc_master_free_all(); void ipc_child_disable(); +gboolean ipc_child_identify( irc_t *irc ); + void ipc_to_master( char **cmd ); void ipc_to_master_str( char *format, ... ) G_GNUC_PRINTF( 1, 2 ); void ipc_to_children( char **cmd ); -- cgit v1.2.3 From 83e2d3048639533acd1d56672dcb1ba76de65e36 Mon Sep 17 00:00:00 2001 From: Doug Luce Date: Wed, 14 Jul 2010 18:19:03 -0500 Subject: This makes Bitlbee compile on OpenBSD. --- ipc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ipc.h') diff --git a/ipc.h b/ipc.h index 068996a7..fc1c65b4 100644 --- a/ipc.h +++ b/ipc.h @@ -25,6 +25,7 @@ #define BITLBEE_CORE #include "bitlbee.h" +#include struct bitlbee_child -- cgit v1.2.3