diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-28 21:49:39 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-28 21:49:39 +0000 |
commit | 266193aa7e9e5e76799523168b9f944e296029de (patch) | |
tree | 9c07f6e716c8e350f393b6494936417e767523bf /src/perl/irc | |
parent | 9e1aba8cec3fabb7a9bea9d92c86180857b6fe61 (diff) | |
download | irssi-266193aa7e9e5e76799523168b9f944e296029de.zip |
Added Irssi::Irc::get_mask() and Irssi::Irc::MASK_*
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2163 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/irc')
-rw-r--r-- | src/perl/irc/Channel.xs | 38 | ||||
-rw-r--r-- | src/perl/irc/module.h | 1 |
2 files changed, 38 insertions, 1 deletions
diff --git a/src/perl/irc/Channel.xs b/src/perl/irc/Channel.xs index bd88be79..833e4f59 100644 --- a/src/perl/irc/Channel.xs +++ b/src/perl/irc/Channel.xs @@ -1,8 +1,44 @@ #include "module.h" -MODULE = Irssi::Irc::Channel PACKAGE = Irssi::Irc::Channel PREFIX = irc_ +MODULE = Irssi::Irc::Channel PACKAGE = Irssi::Irc PREFIX = irc_ PROTOTYPES: ENABLE +char * +irc_get_mask(nick, address, flags) + char *nick + char *address + int flags + +int +MASK_NICK() +CODE: + RETVAL = IRC_MASK_NICK; +OUTPUT: + RETVAL + +int +MASK_USER() +CODE: + RETVAL = IRC_MASK_USER; +OUTPUT: + RETVAL + +int +MASK_HOST() +CODE: + RETVAL = IRC_MASK_HOST; +OUTPUT: + RETVAL + +int +MASK_DOMAIN() +CODE: + RETVAL = IRC_MASK_DOMAIN; +OUTPUT: + RETVAL + +MODULE = Irssi::Irc::Channel PACKAGE = Irssi::Irc::Channel PREFIX = irc_ + void bans(channel) Irssi::Irc::Channel channel diff --git a/src/perl/irc/module.h b/src/perl/irc/module.h index 89aaff06..4f0ce06d 100644 --- a/src/perl/irc/module.h +++ b/src/perl/irc/module.h @@ -5,6 +5,7 @@ #include "irc-channels.h" #include "irc-queries.h" #include "irc-nicklist.h" +#include "irc-masks.h" #include "bans.h" #include "modes.h" |