1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
irssi/src/perl/irc/Modes.xs
Timo Sirainen b933f62111 fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2791 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-13 18:25:21 +00:00

45 lines
844 B
Plaintext

#include "module.h"
MODULE = Irssi::Irc::Modes PACKAGE = Irssi::Irc
PROTOTYPES: ENABLE
void
modes_join(old, mode, channel)
char *old
char *mode
int channel
PREINIT:
char *ret;
PPCODE:
ret = modes_join(old, mode, channel);
XPUSHs(sv_2mortal(new_pv(ret)));
g_free(ret);
#*******************************
MODULE = Irssi::Irc::Modes PACKAGE = Irssi::Irc::Channel PREFIX = channel_
#*******************************
void
ban_get_mask(channel, nick, ban_type)
Irssi::Irc::Channel channel
char *nick
int ban_type
PREINIT:
char *ret;
PPCODE:
ret = ban_get_mask(channel, nick, ban_type);
XPUSHs(sv_2mortal(new_pv(ret)));
g_free(ret);
Irssi::Irc::Ban
banlist_add(channel, ban, nick, time)
Irssi::Irc::Channel channel
char *ban
char *nick
time_t time
void
banlist_remove(channel, ban)
Irssi::Irc::Channel channel
char *ban