Allow stubbing based on query xmlns

This commit is contained in:
James Booth
2015-06-02 00:19:53 +01:00
parent ddb837cdcd
commit fe36df4dbe
13 changed files with 380 additions and 82 deletions

View File

@@ -24,16 +24,7 @@
#define __H_PARSER
#include "server/stanza.h"
#include "server/xmppclient.h"
typedef void (*stream_start_func)(void);
typedef void (*auth_func)(XMPPStanza *stanza);
typedef void (*id_func)(const char *id);
void parser_init(stream_start_func startcb, auth_func authcb, id_func);
int parser_feed(char *chunk, int len);
void parser_close(void);
void parser_reset(void);
void parser_show_stanzas(void);
XMPPStanza* parse_stanza(char *stanza_text);
#endif