Move resource conversions

This commit is contained in:
James Booth
2016-07-24 16:27:39 +01:00
parent ef942bd27a
commit 37742d71b6
6 changed files with 78 additions and 77 deletions

View File

@@ -49,4 +49,9 @@ Resource* resource_new(const char *const name, resource_presence_t presence, con
void resource_destroy(Resource *resource);
int resource_compare_availability(Resource *first, Resource *second);
gboolean valid_resource_presence_string(const char *const str);
const char* string_from_resource_presence(resource_presence_t presence);
resource_presence_t resource_presence_from_string(const char *const str);
contact_presence_t contact_presence_from_resource_presence(resource_presence_t resource_presence);
#endif