summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-17 00:23:21 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-17 00:23:21 +0000
commit93d69f50ee2d1251d0e24d93bd2dc3b3b6d1a50f (patch)
tree9a8f9ebb279cb8a5f7daf806d42952af5799cabe
parentca0711f98156fe17ede3ad2c76e02c886b0f66c0 (diff)
downloadirssi-93d69f50ee2d1251d0e24d93bd2dc3b3b6d1a50f.zip
Forgot to update this for server_redirect_register()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2039 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/irc/core/servers-redirect.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/irc/core/servers-redirect.h b/src/irc/core/servers-redirect.h
index 2bf48097..d477fe93 100644
--- a/src/irc/core/servers-redirect.h
+++ b/src/irc/core/servers-redirect.h
@@ -10,18 +10,21 @@
reply before aborting.
... - 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.
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
- is compared to wanted argument, -1 = don't compare, TRUE always. */
+ stop event. Optional events are checked only if they are received
+ 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,
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 */
void server_redirect_register_list(const char *command,
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.
NOTE: This command MUST be called before irc_send_cmd().