1
0
mirror of https://github.com/irssi/irssi.git synced 2025-02-02 15:08:01 -05:00

Forgot to update this for server_redirect_register()

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2039 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-11-17 00:23:21 +00:00 committed by cras
parent ca0711f981
commit 93d69f50ee

View File

@ -10,18 +10,21 @@
reply before aborting. reply before aborting.
... - char *start, int argpos, char *start, int argpos, ..., NULL, ... - char *start, int argpos, char *start, int argpos, ..., NULL,
char *stop, int argpos, char *stop, int argpos, ..., NULL char *stop, int argpos, char *stop, int argpos, ..., NULL,
char *optional, int argpos, ..., NULL
List of events that start and stop this redirection. List of events that start and stop this redirection.
Start event list may be just NULL, but there must be at least one Start event list may be just NULL, but there must be at least one
stop event. `argpos' specifies the word number in event string which stop event. Optional events are checked only if they are received
is compared to wanted argument, -1 = don't compare, TRUE always. */ immediately after one of the stop-events. `argpos' specifies the
word number in event string which is compared to wanted argument,
-1 = don't compare, TRUE always. */
void server_redirect_register(const char *command, void server_redirect_register(const char *command,
int remote, int timeout, ...); int remote, int timeout, ...);
/* start/stop lists shouldn't be free'd after, and their strings /* start/stop/opt lists shouldn't be free'd after, and their strings
should be dynamically allocated */ should be dynamically allocated */
void server_redirect_register_list(const char *command, void server_redirect_register_list(const char *command,
int remote, int timeout, int remote, int timeout,
GSList *start, GSList *stop); GSList *start, GSList *stop, GSList *opt);
/* Specify that the next command sent to server will be redirected. /* Specify that the next command sent to server will be redirected.
NOTE: This command MUST be called before irc_send_cmd(). NOTE: This command MUST be called before irc_send_cmd().