@@ -117,6 +117,22 @@ int jack_client_name_size (void) JACK_OPTIONAL_WEAK_EXPORT; | |||||
*/ | */ | ||||
char *jack_get_client_name (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT; | char *jack_get_client_name (jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT; | ||||
/** | |||||
* @return pointer to a string representation of the UUID for | |||||
* a client named @param name. If no such client exists, return NULL | |||||
*/ | |||||
char *jack_get_uuid_for_client_name (jack_client_t *client, | |||||
const char *name) JACK_WEAK_EXPORT; | |||||
/** | |||||
* @return a pointer to the name of the client with the UUID | |||||
* specified by @param uuid. | |||||
* | |||||
* Return NULL if no such client with the given UUID exists | |||||
*/ | |||||
char *jack_get_client_name_by_uuid (jack_client_t *client, | |||||
const char *uuid ) JACK_WEAK_EXPORT; | |||||
/** | /** | ||||
* Load an internal client into the Jack server. | * Load an internal client into the Jack server. | ||||
* | * | ||||
@@ -240,22 +240,6 @@ jack_session_command_t *jack_session_notify ( | |||||
*/ | */ | ||||
void jack_session_commands_free (jack_session_command_t *cmds) JACK_WEAK_EXPORT; | void jack_session_commands_free (jack_session_command_t *cmds) JACK_WEAK_EXPORT; | ||||
/** | |||||
* Get the session ID for a client name. | |||||
* The session manager needs this to reassociate a client name to the session_id. | |||||
*/ | |||||
char *jack_get_uuid_for_client_name (jack_client_t *client, | |||||
const char *client_name) JACK_WEAK_EXPORT; | |||||
/** | |||||
* Get the client name for a session_id. | |||||
* | |||||
* In order to snapshot the graph connections, the session manager needs to map | |||||
* session_ids to client names. | |||||
*/ | |||||
char *jack_get_client_name_by_uuid (jack_client_t *client, | |||||
const char *client_uuid ) JACK_WEAK_EXPORT; | |||||
/** | /** | ||||
* Reserve a client name and associate it with a UUID. | * Reserve a client name and associate it with a UUID. | ||||
* | * | ||||