Implement xmpp_stanza_del_attribute()

This commit is contained in:
Tristan Le Guern
2015-07-29 16:10:23 +02:00
committed by Dmitry Podgorny
parent 0d4bcc0228
commit 21f742f888
2 changed files with 24 additions and 0 deletions

View File

@@ -342,6 +342,9 @@ int xmpp_stanza_set_text_with_size(xmpp_stanza_t *stanza,
const char * const text,
const size_t size);
int xmpp_stanza_del_attribute(xmpp_stanza_t * const stanza,
const char * const name);
/* common stanza helpers */
char *xmpp_stanza_get_type(xmpp_stanza_t * const stanza);
char *xmpp_stanza_get_id(xmpp_stanza_t * const stanza);