From 75938845fd33e48ea7c97ea4173223d8ae9d15a0 Mon Sep 17 00:00:00 2001 From: Tristan Le Guern Date: Wed, 29 Jul 2015 15:36:43 +0200 Subject: [PATCH] Add missing prototypes to strophe.h --- strophe.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/strophe.h b/strophe.h index 80a5390..b5797b7 100644 --- a/strophe.h +++ b/strophe.h @@ -310,6 +310,9 @@ xmpp_stanza_t *xmpp_stanza_get_child_by_ns(xmpp_stanza_t * const stanza, xmpp_stanza_t *xmpp_stanza_get_next(xmpp_stanza_t * const stanza); char *xmpp_stanza_get_attribute(xmpp_stanza_t * const stanza, const char * const name); +int xmpp_stanza_get_attribute_count(xmpp_stanza_t * const stanza); +int xmpp_stanza_get_attributes(xmpp_stanza_t * const stanza, + const char **attr, int attrlen); char * xmpp_stanza_get_ns(xmpp_stanza_t * const stanza); /* concatenate all child text nodes. this function * returns a string that must be freed by the caller */