diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2003-09-28 11:17:16 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2003-09-28 11:17:16 +0000 |
commit | a5ae266ee4df887edbe2ed3608c7f8479c167745 (patch) | |
tree | eb8e3a2daa974d501affa19609af323426c8c9b5 /src/irc/irc.h | |
parent | a353a6d228a11283307acf931a43bf5ca89a033f (diff) | |
download | weechat-a5ae266ee4df887edbe2ed3608c7f8479c167745.zip |
Added /server command
Diffstat (limited to 'src/irc/irc.h')
-rw-r--r-- | src/irc/irc.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/irc/irc.h b/src/irc/irc.h index f1f3698be..b74c8e28f 100644 --- a/src/irc/irc.h +++ b/src/irc/irc.h @@ -78,6 +78,7 @@ struct t_irc_server { /* user choices */ char *name; /* name of server (only for display) */ + int autoconnect; /* = 1 if auto connect at startup */ char *address; /* address of server (IP or name) */ int port; /* port for server (6667 by default) */ char *password; /* password for server */ @@ -137,12 +138,14 @@ extern t_irc_channel *current_channel; /* server functions (irc-server.c) */ +extern void server_init (t_irc_server *); extern t_irc_server *server_alloc (); extern void server_create_window (t_irc_server *); +extern void server_destroy (t_irc_server *); extern void server_free (t_irc_server *); extern void server_free_all (); -extern t_irc_server *server_new (char *, char *, int, char *, char *, char *, - char *, char *, char *); +extern t_irc_server *server_new (char *, int, char *, int, char *, char *, + char *, char *, char *, char *); extern int server_send (t_irc_server *, char *, int); extern int server_sendf (t_irc_server *, char *, ...); extern void server_recv (t_irc_server *); |