view libpurple/plugins/perl/common/XMLNode.xs @ 18448:4b1e2aefeb9d

Fix the win32 build. Thanks to Etan and Lee Roach. Fixes #1929.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 06 Jul 2007 14:44:05 +0000
parents 2f8274ce570a
children 491af22d8a01
line wrap: on
line source

#include "module.h"

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

Purple::XMLNode
xmlnode_copy(class, src)
	Purple::XMLNode src
    C_ARGS:
	src

void
xmlnode_free(node)
	Purple::XMLNode node

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

const char *
xmlnode_get_attrib(node, attr)
	Purple::XMLNode node
	const char *attr

Purple::XMLNode
xmlnode_get_child(parent, name)
	Purple::XMLNode parent
	const char *name

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

gchar_own *
xmlnode_get_data(node)
	Purple::XMLNode node

Purple::XMLNode
xmlnode_get_next_twin(node)
	Purple::XMLNode node

void
xmlnode_insert_child(parent, child)
	Purple::XMLNode parent
	Purple::XMLNode child

void
xmlnode_insert_data(node, data, size)
	Purple::XMLNode node
	const char *data
	gssize size

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

Purple::XMLNode
xmlnode_new_child(parent, name)
	Purple::XMLNode parent
	const char *name

void
xmlnode_remove_attrib(node, attr)
	Purple::XMLNode node
	const char *attr

void
xmlnode_set_attrib(node, attr, value)
	Purple::XMLNode node
	const char *attr
	const char *value

gchar_own *
xmlnode_to_formatted_str(node, len)
	Purple::XMLNode node
	int *len

gchar_own *
xmlnode_to_str(node, len)
	Purple::XMLNode node
	int *len