aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-02-12 20:26:20 +1300
committerJelmer Vernooij <jelmer@samba.org>2006-02-12 20:26:20 +1300
commit5ebe625399d5116e222d6389434f645e906265ec (patch)
tree91a48ae6564ed891a23b1f5de2f630185fd0b39d /bitlbee.h
parenta323a22773714a19254db34156500a67e5916451 (diff)
parent58bc4e69967a8feec0a60dfab716985191c12817 (diff)
Merge
Diffstat (limited to 'bitlbee.h')
-rw-r--r--bitlbee.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/bitlbee.h b/bitlbee.h
index 41247270..b43159d0 100644
--- a/bitlbee.h
+++ b/bitlbee.h
@@ -111,13 +111,16 @@ extern char *CONF_FILE;
#include "query.h"
#include "sock.h"
-typedef struct global_t {
+typedef struct global {
+ /* In forked mode, child processes store the fd of the IPC socket here. */
int listen_socket;
+ gint listen_watch_source_id;
help_t *help;
conf_t *conf;
GList *storage; /* The first backend in the list will be used for saving */
char *helpfile;
GMainLoop *loop;
+ int restart;
} global_t;
int bitlbee_daemon_init( void );
@@ -126,8 +129,8 @@ int bitlbee_inetd_init( void );
gboolean bitlbee_io_current_client_read( GIOChannel *source, GIOCondition condition, gpointer data );
gboolean bitlbee_io_current_client_write( GIOChannel *source, GIOCondition condition, gpointer data );
-int root_command_string( irc_t *irc, user_t *u, char *command, int flags );
-int root_command( irc_t *irc, char *command[] );
+void root_command_string( irc_t *irc, user_t *u, char *command, int flags );
+void root_command( irc_t *irc, char *command[] );
void bitlbee_shutdown( gpointer data );
double gettime( void );
G_MODULE_EXPORT void http_encode( char *s );