Added stanza_add_child

This commit is contained in:
James Booth
2015-05-15 00:17:06 +01:00
parent debac69cbb
commit f57edf876a
3 changed files with 8 additions and 1 deletions

View File

@@ -52,3 +52,9 @@ stanza_add(XMPPStanza *stanza)
{
stanzas = g_list_append(stanzas, stanza);
}
void
stanza_add_child(XMPPStanza *parent, XMPPStanza *child)
{
parent->children = g_list_append(parent->children, child);
}