mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Added Irssi::chatnets() and chatnet_find()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2054 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
51db872da0
commit
c374e628dc
@ -21,6 +21,15 @@ PPCODE:
|
||||
XPUSHs(sv_2mortal(plain_bless(tmp->data, "Irssi::Reconnect")));
|
||||
}
|
||||
|
||||
void
|
||||
chatnets()
|
||||
PREINIT:
|
||||
GSList *tmp;
|
||||
PPCODE:
|
||||
for (tmp = chatnets; tmp != NULL; tmp = tmp->next) {
|
||||
XPUSHs(sv_2mortal(irssi_bless((CHATNET_REC *) tmp->data)));
|
||||
}
|
||||
|
||||
Irssi::Connect
|
||||
server_create_conn(chat_type, dest, port=6667, chatnet=NULL, password=NULL, nick=NULL)
|
||||
int chat_type
|
||||
@ -38,6 +47,10 @@ Irssi::Server
|
||||
server_find_chatnet(chatnet)
|
||||
char *chatnet
|
||||
|
||||
Irssi::Chatnet
|
||||
chatnet_find(name)
|
||||
char *name
|
||||
|
||||
#*******************************
|
||||
MODULE = Irssi::Server PACKAGE = Irssi::Server PREFIX = server_
|
||||
#*******************************
|
||||
|
Loading…
Reference in New Issue
Block a user