summaryrefslogtreecommitdiff
path: root/src/perl/common/Query.xs
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-06 21:59:28 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-06 21:59:28 +0000
commit341cd555872d49a805e8271e5c4b4bdee03bb866 (patch)
treedfee61d174e6cda35aded9fd0f5547beb052ee13 /src/perl/common/Query.xs
parentd108026a377aae45a9294b495b81b951b5d84e85 (diff)
downloadirssi-341cd555872d49a805e8271e5c4b4bdee03bb866.zip
Perl updates. Lots of updates to perl documentation :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1081 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/common/Query.xs')
-rw-r--r--src/perl/common/Query.xs22
1 files changed, 15 insertions, 7 deletions
diff --git a/src/perl/common/Query.xs b/src/perl/common/Query.xs
index 3af0b8d0..139bd88b 100644
--- a/src/perl/common/Query.xs
+++ b/src/perl/common/Query.xs
@@ -11,6 +11,21 @@ PPCODE:
XPUSHs(sv_2mortal(irssi_bless(rec)));
}
+Irssi::Query
+query_create(chat_type, server_tag, nick, automatic)
+ int chat_type
+ char *server_tag
+ char *nick
+ int automatic
+
+Irssi::Query
+query_find(nick)
+ char *nick
+CODE:
+ RETVAL = query_find(NULL, nick);
+OUTPUT:
+ RETVAL
+
#*******************************
MODULE = Irssi PACKAGE = Irssi::Server
#*******************************
@@ -28,13 +43,6 @@ PPCODE:
}
Irssi::Query
-query_create(chat_type, server_tag, nick, automatic)
- int chat_type
- char *server_tag
- char *nick
- int automatic
-
-Irssi::Query
query_find(server, nick)
Irssi::Server server
char *nick