GUAC-1389: Rename guac_terminal_add_user() to guac_terminal_dup().

This commit is contained in:
Michael Jumper 2016-03-14 16:03:05 -07:00
parent a101838162
commit 8f6a585b09
2 changed files with 5 additions and 4 deletions

View File

@ -1915,7 +1915,7 @@ int guac_terminal_create_typescript(guac_terminal* term, const char* path,
}
void guac_terminal_add_user(guac_terminal* term, guac_user* user,
void guac_terminal_dup(guac_terminal* term, guac_user* user,
guac_socket* socket) {
/* Synchronize display state with new user */

View File

@ -565,8 +565,9 @@ void guac_terminal_clipboard_reset(guac_terminal* term, const char* mimetype);
void guac_terminal_clipboard_append(guac_terminal* term, const void* data, int length);
/**
* Signals the terminal emulator that a new user has joined the connection, and
* requests that the current display state be replicated to that user.
* Replicates the current display state to a user that has just joined the
* connection. All instructions necessary to replicate state are sent over the
* given socket.
*
* @param term
* The terminal emulator associated with the connection being joined.
@ -578,7 +579,7 @@ void guac_terminal_clipboard_append(guac_terminal* term, const void* data, int l
* The guac_socket specific to the joining user and across which messages
* synchronizing the current display state should be sent.
*/
void guac_terminal_add_user(guac_terminal* term, guac_user* user,
void guac_terminal_dup(guac_terminal* term, guac_user* user,
guac_socket* socket);
/* INTERNAL FUNCTIONS */