aboutsummaryrefslogtreecommitdiffstats
path: root/ipc.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-01-19 18:52:19 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2006-01-19 18:52:19 +0100
commit5424c76c7813f82e2f98546f6a46b73d80181877 (patch)
treec7853e03c0202e8586103bb88e311f1183fe94d0 /ipc.h
parentbd9b00f4fed3560eab98f15cf9923aed13467d5d (diff)
Rehash command now also works in inetd mode. Other "IPC" commands only make
sense in daemon mode.
Diffstat (limited to 'ipc.h')
-rw-r--r--ipc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ipc.h b/ipc.h
index 56449a7c..308b6e4b 100644
--- a/ipc.h
+++ b/ipc.h
@@ -26,6 +26,7 @@
#define BITLBEE_CORE
#include "bitlbee.h"
+
struct bitlbee_child
{
pid_t pid;
@@ -37,6 +38,7 @@ struct bitlbee_child
char *realname;
};
+
void ipc_master_read( gpointer data, gint source, GaimInputCondition cond );
void ipc_child_read( gpointer data, gint source, GaimInputCondition cond );
@@ -48,4 +50,8 @@ void ipc_to_master_str( char *format, ... );
void ipc_to_children( char **cmd );
void ipc_to_children_str( char *format, ... );
+/* We need this function in inetd mode, so let's just make it non-static. */
+int ipc_master_cmd_rehash( irc_t *data, char **cmd );
+
+
extern GSList *child_list;