Add error returns to stanza functions.

This commit is contained in:
Jack Moffitt
2005-07-29 19:24:59 +00:00
parent d0e64fdac7
commit 74d8b50d60
3 changed files with 83 additions and 65 deletions

View File

@@ -230,8 +230,8 @@ struct _xmpp_stanza_t {
hash_t *attributes;
};
void xmpp_stanza_set_attributes(xmpp_stanza_t * const stanza,
const char * const * const attr);
int xmpp_stanza_set_attributes(xmpp_stanza_t * const stanza,
const char * const * const attr);
/* parser functions */
void parser_handle_start(void *userdata,