mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 00:26:21 +00:00
Added jid->hash lookup for capabilities
This commit is contained in:
@@ -42,11 +42,10 @@ typedef struct resource_t {
|
||||
resource_presence_t presence;
|
||||
char *status;
|
||||
int priority;
|
||||
char *caps_str;
|
||||
} Resource;
|
||||
|
||||
Resource * resource_new(const char * const name, resource_presence_t presence,
|
||||
const char * const status, const int priority, const char * const caps_str);
|
||||
const char * const status, const int priority);
|
||||
void resource_destroy(Resource *resource);
|
||||
|
||||
int resource_compare_availability(Resource *first, Resource *second);
|
||||
|
||||
Reference in New Issue
Block a user