stanza: add xmpp_stanza_add_child_ex()

This function is introduced by NetXMS project.
This commit is contained in:
Dmitry Podgorny
2020-01-10 00:48:13 +02:00
parent fb327d4bd1
commit 4b04db6b2d
3 changed files with 31 additions and 5 deletions

View File

@@ -345,6 +345,8 @@ xmpp_stanza_t *xmpp_stanza_get_child_by_name_and_ns(xmpp_stanza_t * const stanza
const char * const ns);
xmpp_stanza_t *xmpp_stanza_get_next(xmpp_stanza_t * const stanza);
int xmpp_stanza_add_child(xmpp_stanza_t *stanza, xmpp_stanza_t *child);
int xmpp_stanza_add_child_ex(xmpp_stanza_t *stanza, xmpp_stanza_t *child,
int do_clone);
const char *xmpp_stanza_get_attribute(xmpp_stanza_t * const stanza,
const char * const name);