view plugins/perl/common/Connection.xs @ 8618:70aad91d9cb5

[gaim-migrate @ 9369] (00:55:17) JBSilvest: oh, btw, the other part of my Changelog.diff was to capitalize the first letter of the prior entry...it wasn't completely pointless (00:55:30) Luke: your diff didn't apply (00:55:37) JBSilvest: oh, right (00:55:37) Luke: cause i'd already fixed one mistake in it (00:55:44) JBSilvest: because of the other... (00:55:54) Luke: so i tried to manually merge it. i'm not very good at that (00:56:00) JBSilvest: (just consider it a future FYI ) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 08 Apr 2004 04:43:53 +0000
parents 6deef41364bd
children 134d0001983d
line wrap: on
line source

#include "module.h"

MODULE = Gaim::Connection  PACKAGE = Gaim::Connection  PREFIX = gaim_connection_
PROTOTYPES: ENABLE

void
gaim_connection_set_display_name(gc, name)
	Gaim::Connection gc
	const char *name

Gaim::Account
gaim_connection_get_account(gc)
	Gaim::Connection gc

const char *
gaim_connection_get_display_name(gc)
	Gaim::Connection gc


MODULE = Gaim::Connections  PACKAGE = Gaim::Connections  PREFIX = gaim_connections_
PROTOTYPES: ENABLE

void
gaim_connections_disconnect_all()

void *
handle()
CODE:
	RETVAL = gaim_connections_get_handle();
OUTPUT:
	RETVAL


MODULE = Gaim::Connection  PACKAGE = Gaim

void
connections()
PREINIT:
	GList *l;
PPCODE:
	for (l = gaim_connections_get_all(); l != NULL; l = l->next)
		XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Connection")));