pidgin/plugins/perl/common/GtkPounce.xs

Sat, 17 Apr 2010 01:27:04 +0000

author
Paul Aurich <darkrain42@pidgin.im>
date
Sat, 17 Apr 2010 01:27:04 +0000
changeset 30027
2ab6e591cf72
parent 21342
6d1d2ebd9277
permissions
-rw-r--r--

Add network listen functions that accept a family argument (AF_INET(6?)).

These allow code to portably support IPv6 for listeners (mostly file
transfers and Bonjour). Callers should use the purple_socket_speaks_ipv4
to determine whether they need two sockets or just an IPv6 one. I used
GIO's g_socket_speaks_ipv4 as the inspiration for that.

#include "gtkmodule.h"

MODULE = Pidgin::Pounce  PACKAGE = Pidgin::Pounce  PREFIX = pidgin_pounce_
PROTOTYPES: ENABLE

void
pidgin_pounce_editor_show(account, name, cur_pounce)
	Purple::Account account
	const char * name
	Purple::Pounce cur_pounce

MODULE = Pidgin::Pounce  PACKAGE = Pidgin::Pounces  PREFIX = pidgin_pounces_
PROTOTYPES: ENABLE

Purple::Handle
pidgin_pounces_get_handle()

MODULE = Pidgin::Pounce  PACKAGE = Pidgin::Pounces::Manager  PREFIX = pidgin_pounces_manager_
PROTOTYPES: ENABLE

void
pidgin_pounces_manager_show()

void
pidgin_pounces_manager_hide()

mercurial