summaryrefslogtreecommitdiff
path: root/src/irc/core/irc.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-03-18 23:00:53 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-03-18 23:00:53 +0000
commit93141c3a869ba8e32a4aab9eb627e78d91e57e3a (patch)
treeeaf91e5feb0b8fd5638f06d8c5f7f4ca657b5bf5 /src/irc/core/irc.h
parent4a967a5d5c2fbf8e4cda3b24d79c454e0e1fea69 (diff)
downloadirssi-93141c3a869ba8e32a4aab9eb627e78d91e57e3a.zip
/RAWQUOTE: like /QUOTE, but don't add line feed after the command, and don't
truncate line to 512 bytes. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1410 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/irc.h')
-rw-r--r--src/irc/core/irc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/irc/core/irc.h b/src/irc/core/irc.h
index 7eacca7a..c4e4ed10 100644
--- a/src/irc/core/irc.h
+++ b/src/irc/core/irc.h
@@ -44,6 +44,11 @@ void irc_send_cmd_split(IRC_SERVER_REC *server, const char *cmd,
/* Send command to server immediately bypassing all flood protections
and queues. */
void irc_send_cmd_now(IRC_SERVER_REC *server, const char *cmd);
+/* The core of the irc_send_cmd* functions. If `raw' is TRUE, the `cmd'
+ won't be checked at all if it's 512 bytes or not, or if it contains
+ line feeds or not. Use with extreme caution! */
+void irc_send_cmd_full(IRC_SERVER_REC *server, const char *cmd,
+ int send_now, int immediate, int raw);
#include "commands.h" /* contains the generic PARAM_FLAG_xxx defines */