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"