diff --git a/jack.h b/jack.h index 5ba8fca..0ffd513 100644 --- a/jack.h +++ b/jack.h @@ -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; +/** + * @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. * diff --git a/session.h b/session.h index 0f78594..2152cf8 100644 --- a/session.h +++ b/session.h @@ -240,22 +240,6 @@ jack_session_command_t *jack_session_notify ( */ 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. *