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

@@ -23,6 +23,8 @@
#ifndef __H_PRIME
#define __H_PRIME
#include "server/stanza.h"
void prime_init(void);
void prime_free_all(void);
@@ -30,6 +32,9 @@ void prime_required_passwd(char *password);
char* prime_get_passwd(void);
int prime_for_id(const char *id, char *stream);
char* prime_get_for(const char *id);
char* prime_get_for_id(const char *id);
int prime_for_query(const char *query, char *stream);
XMPPStanza* prime_get_for_query(const char *query);
#endif