|
XMMS2
|
Functions dealing with UUID. More...
Macros | |
| #define | HEX_TO_CHAR(c) |
Functions | |
| void | s4_create_uuid (unsigned char uuid[16]) |
| Creates a new random UUID and saves it in the array passed. | |
| void | s4_get_uuid (s4_t *s4, unsigned char uuid[16]) |
| Gets the UUID of a S4 database. | |
| char * | s4_get_uuid_string (s4_t *s4) |
| Gets the UUID-string of a S4 database. | |
Functions dealing with UUID.
Every S4 database is assigned a random UUID. This can be used to identify a database without using the filename.
| #define HEX_TO_CHAR | ( | c | ) |
Referenced by s4_get_uuid_string().
| void s4_create_uuid | ( | unsigned char | uuid[16] | ) |
Creates a new random UUID and saves it in the array passed.
| uuid | The array to save the new UUID to |
| void s4_get_uuid | ( | s4_t * | s4, |
| unsigned char | uuid[16] ) |
Gets the UUID of a S4 database.
| s4 | The database to find the UUID of |
| uuid | An array to save the UUID in |
| char * s4_get_uuid_string | ( | s4_t * | s4 | ) |
Gets the UUID-string of a S4 database.
| s4 | The database to find the UUID of |
Referenced by xmms_medialib_uuid().