summaryrefslogtreecommitdiff
path: root/src/perl/irc/Netsplit.xs
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-09 20:54:47 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-09 20:54:47 +0000
commit5dcd6833242a88cbf0fdbcfa6a25fbe3bad77426 (patch)
tree2f9431cda59df10bcb6f80e2e5e662beead43e73 /src/perl/irc/Netsplit.xs
parent8d98e80a6b914c6e1708b2ccc5cfd49e0ed43584 (diff)
downloadirssi-5dcd6833242a88cbf0fdbcfa6a25fbe3bad77426.zip
fixes, perl should work correctly now :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@982 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/irc/Netsplit.xs')
-rw-r--r--src/perl/irc/Netsplit.xs37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/perl/irc/Netsplit.xs b/src/perl/irc/Netsplit.xs
index a7669b43..c6d7c6e8 100644
--- a/src/perl/irc/Netsplit.xs
+++ b/src/perl/irc/Netsplit.xs
@@ -12,40 +12,3 @@ netsplit_find_channel(server, nick, address, channel)
char *nick
char *address
char *channel
-
-
-#*******************************
-MODULE = Irssi::Irc PACKAGE = Irssi::Irc::Netsplit
-#*******************************
-
-void
-init(netsplit)
- Irssi::Irc::Netsplit netsplit
-PREINIT:
- HV *hv, *stash;
-PPCODE:
- hv = newHV();
- hv_store(hv, "nick", 4, new_pv(netsplit->nick), 0);
- hv_store(hv, "address", 7, new_pv(netsplit->address), 0);
- hv_store(hv, "destroy", 7, newSViv(netsplit->destroy), 0);
-
- stash = gv_stashpv("Irssi::Irc::Netsplitserver", 0);
- hv_store(hv, "server", 6, new_bless(netsplit->server, stash), 0);
- /*FIXME: add GSList *channels;*/
- XPUSHs(sv_2mortal(newRV_noinc((SV*)hv)));
-
-#*******************************
-MODULE = Irssi::Irc PACKAGE = Irssi::Irc::Netsplitserver
-#*******************************
-
-void
-init(rec)
- Irssi::Irc::Netsplitserver rec
-PREINIT:
- HV *hv;
-PPCODE:
- hv = newHV();
- hv_store(hv, "server", 6, new_pv(rec->server), 0);
- hv_store(hv, "destserver", 10, new_pv(rec->destserver), 0);
- hv_store(hv, "count", 5, newSViv(rec->count), 0);
- XPUSHs(sv_2mortal(newRV_noinc((SV*)hv)));