view libgaim/plugins/perl/common/XMLNode.xs @ 14267:645598a4ec04

[gaim-migrate @ 16949] Change gaim_network_listen() and gaim_network_listen_range() to be cancelable. This doesn't actually help anything yet, since the gaim_upnp_functions() are not yet cancelable. But the framework is there, and the PRPLs shouldn't need any additional changes. Still to go: gaim_upnp_everything() gaim_url_fetch() gaim_srv_resolve() Let me know if there are others committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 21 Aug 2006 07:47:03 +0000
parents 60b1bc8dbf37
children b1fcd2fc903a
line wrap: on
line source

#include "module.h"

MODULE = Gaim::XMLNode  PACKAGE = Gaim::XMLNode  PREFIX = xmlnode_
PROTOTYPES: ENABLE

Gaim::XMLNode
xmlnode_copy(class, src)
	xmlnode *src
    C_ARGS:
	src

void
xmlnode_free(node)
	xmlnode *node

Gaim::XMLNode
xmlnode_from_str(class, str, size)
	const char *str
	gssize size
    C_ARGS:
	str, size

const char *
xmlnode_get_attrib(node, attr)
	xmlnode *node
	const char *attr

Gaim::XMLNode
xmlnode_get_child(parent, name)
	const xmlnode *parent
	const char *name

Gaim::XMLNode
xmlnode_get_child_with_namespace(parent, name, xmlns)
	const xmlnode *parent
	const char *name
	const char *xmlns

char *
xmlnode_get_data(node)
	xmlnode *node

Gaim::XMLNode
xmlnode_get_next_twin(node)
	xmlnode *node

void
xmlnode_insert_child(parent, child)
	xmlnode *parent
	xmlnode *child

void
xmlnode_insert_data(node, data, size)
	xmlnode *node
	const char *data
	gssize size

Gaim::XMLNode
xmlnode_new(class, name)
	const char *name
    C_ARGS:
	name

Gaim::XMLNode
xmlnode_new_child(parent, name)
	xmlnode *parent
	const char *name

void
xmlnode_remove_attrib(node, attr)
	xmlnode *node
	const char *attr

void
xmlnode_set_attrib(node, attr, value)
	xmlnode *node
	const char *attr
	const char *value

char *
xmlnode_to_formatted_str(node, len)
	xmlnode *node
	int *len

char *
xmlnode_to_str(node, len)
	xmlnode *node
	int *len