From 7b7751c863514a2d0926ecc9523a1b6fe5002746 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Sun, 13 Oct 2013 16:09:31 -0400 Subject: [PATCH] add IrcCommand extension Used to send arbitrary IRC commands to the server. --- extensions/Connection_Interface_Irc_Command.xml | 46 +++++++++++++++++++++++++ extensions/all.xml | 1 + src/idle-connection.c | 24 +++++++++++++ tests/twisted/Makefile.am | 1 + tests/twisted/irc-command.py | 26 ++++++++++++++ 5 files changed, 98 insertions(+) create mode 100644 extensions/Connection_Interface_Irc_Command.xml create mode 100644 tests/twisted/irc-command.py diff --git a/extensions/Connection_Interface_Irc_Command.xml b/extensions/Connection_Interface_Irc_Command.xml new file mode 100644 index 0000000..1a82cfc --- /dev/null +++ b/extensions/Connection_Interface_Irc_Command.xml @@ -0,0 +1,46 @@ + + + Copyright (C) 2005, 2006 Collabora Limited + Copyright (C) 2005, 2006 Nokia Corporation + Copyright (C) 2006 INdT + +

This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version.

+ +

This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details.

+ +

You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

+
+ + + + + + The command followed by its arguments. + + + +

Send an arbitrary IRC command to the server.

+
+ + + + + + + +
+ + An interface to send arbitrary IRC commands to the server. + +
+
+ diff --git a/extensions/all.xml b/extensions/all.xml index 3ed5d93..7e846bb 100644 --- a/extensions/all.xml +++ b/extensions/all.xml @@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

+