diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-01 23:48:37 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2006-03-01 23:48:37 +0100 |
commit | a4dc9f77de03eb46ecabed02dbd1b678319cf11d (patch) | |
tree | 71a8dfa927ea2ac4bfc30a36b4d9324a51247aeb /bitlbee.h | |
parent | 8e419cb4f86679636b2d96618e1bec4853636c11 (diff) | |
parent | 9a1555dc8521f0973347911bcb26d1038259f967 (diff) |
[merge] Wilmer
Diffstat (limited to 'bitlbee.h')
-rw-r--r-- | bitlbee.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -108,7 +108,8 @@ 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; @@ -116,6 +117,7 @@ typedef struct global_t { 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 ); @@ -124,8 +126,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 ); |