comparison libpurple/xmlnode.c @ 32490:67addaf8677f

Remove deprecated xmlnode functions.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 02 Sep 2011 21:04:02 +0000
parents 979bab4c3bca
children 114a98da1a5f
comparison
equal deleted inserted replaced
32489:60d879806964 32490:67addaf8677f
186 void 186 void
187 xmlnode_set_attrib(xmlnode *node, const char *attr, const char *value) 187 xmlnode_set_attrib(xmlnode *node, const char *attr, const char *value)
188 { 188 {
189 xmlnode_remove_attrib(node, attr); 189 xmlnode_remove_attrib(node, attr);
190 xmlnode_set_attrib_full(node, attr, NULL, NULL, value); 190 xmlnode_set_attrib_full(node, attr, NULL, NULL, value);
191 }
192
193 void
194 xmlnode_set_attrib_with_namespace(xmlnode *node, const char *attr, const char *xmlns, const char *value)
195 {
196 xmlnode_set_attrib_full(node, attr, xmlns, NULL, value);
197 }
198
199 void
200 xmlnode_set_attrib_with_prefix(xmlnode *node, const char *attr, const char *prefix, const char *value)
201 {
202 xmlnode_set_attrib_full(node, attr, NULL, prefix, value);
203 } 191 }
204 192
205 void 193 void
206 xmlnode_set_attrib_full(xmlnode *node, const char *attr, const char *xmlns, const char *prefix, const char *value) 194 xmlnode_set_attrib_full(xmlnode *node, const char *attr, const char *xmlns, const char *prefix, const char *value)
207 { 195 {