Mercurial > pidgin
view libpurple/plugins/perl/common/XMLNode.xs @ 20550:28493a27849b
Looking at purple_contact_set_alias and purple_blist_alias_contact functions
in blist.c, the only difference I see is that the latter function
notifies any existing conversation with the contact so that it can update
its title, while the former doesn't. I can't think of a reason why they
should behave differently, or why we should have both of them. I was going
to deprecate purple_blist_alias_contact in favour of purple_contact_set_alias,
but seeing we do purple_blist_alias_ for buddy and chats, I am deprecating
purple_contact_set_alias instead. OK?
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 19 Sep 2007 10:01:45 +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