move declarations of client/UUID related functions from session.h into jack.h, since UUIDs are now at the core

This commit is contained in:
Paul Davis 2013-10-06 09:39:42 -04:00
parent 98548dd785
commit 3d5846b477
2 changed files with 16 additions and 16 deletions

16
jack.h
View File

@ -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.
*

View File

@ -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.
*