Use hash table for disco features

This commit is contained in:
James Booth
2016-05-08 03:04:36 +01:00
parent 29380a39cd
commit ac3ab39e23
4 changed files with 37 additions and 58 deletions

View File

@@ -58,7 +58,7 @@ xmpp_conn_t* connection_get_conn(void);
xmpp_ctx_t* connection_get_ctx(void);
char *connection_get_domain(void);
char* connection_jid_for_feature(const char *const feature);
DiscoInfo* connection_get_disco_info(const char *const jid);
GHashTable* connection_get_features(const char *const jid);
void connection_add_available_resource(Resource *resource);
void connection_remove_available_resource(const char *const resource);