GUAC-1389: Rename guac_terminal_add_user() to guac_terminal_dup().
This commit is contained in:
parent
a101838162
commit
8f6a585b09
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user