Added verify for last received stanza

This commit is contained in:
James Booth
2015-05-24 18:34:21 +01:00
parent a791965b8b
commit d84e50bccd
9 changed files with 198 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
#ifndef __H_STANZA
#define __H_STANZA
#include <glib.h>
typedef struct xmpp_attr_t {
char *name;
char *value;
@@ -24,6 +26,9 @@ const char* stanza_get_id(XMPPStanza *stanza);
XMPPStanza* stanza_get_child_by_ns(XMPPStanza *stanza, char *ns);
XMPPStanza* stanza_get_child_by_name(XMPPStanza *stanza, char *name);
int stanza_verify_last(XMPPStanza *stanza);
void stanza_free(XMPPStanza *stanza);
void stanza_free_all(void);
#endif