view plugins/perl/common/XMLNode.xs @ 12242:976677e67239

[gaim-migrate @ 14544] Rework the notify API close callbacks. They are now called by the core, instead of the UI. Prior to a couple days ago, they weren't actually implemented in the UI at all. As a side note, if anyone knows why gpointer is declared as a T_GaimObj instead of a T_PTR, please let me know. That seems wrong, especially since void * is a T_PTR and gconstpointer is a T_PTR. This may or may not cause problems for the notify change (void * -> gpointer) to user_data. NOTE: I did not change this, even though I think it's wrong. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 28 Nov 2005 01:50:56 +0000
parents b284c703d398
children 6fd82071a7b8
line wrap: on
line source

#include "module.h"

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


xmlnode *
xmlnode_copy(src)
	xmlnode *src

void 
xmlnode_free(node)
	xmlnode *node

xmlnode *
xmlnode_from_str(str, size)
	const char *str
	gssize size

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

xmlnode *
xmlnode_get_child(parent, name)
	const xmlnode *parent
	const char *name

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

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

xmlnode *
xmlnode_new(name)
	const char *name

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