generate_unique_id allows prefix

This commit is contained in:
James Booth
2014-01-25 23:18:10 +00:00
parent e1aca3b1f6
commit fbdecdad0c
3 changed files with 9 additions and 5 deletions

View File

@@ -88,7 +88,7 @@ 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);
char * get_unique_id(void);
char * generate_unique_id(char *prefix);
int cmp_win_num(gconstpointer a, gconstpointer b);
int get_next_available_win_num(GList *used);