mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Initial connect instruction support, connection UUIDs
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#define _CLIENT_H
|
||||
|
||||
#include <png.h>
|
||||
#include <uuid/uuid.h>
|
||||
|
||||
#include "guacio.h"
|
||||
|
||||
@@ -46,6 +47,12 @@ typedef void guac_client_free_handler(void* client);
|
||||
*/
|
||||
struct guac_client {
|
||||
|
||||
/**
|
||||
* UUID identifying this client. Useful when identifying a client
|
||||
* for connection handoff/resume.
|
||||
*/
|
||||
uuid_t uuid;
|
||||
|
||||
/**
|
||||
* The GUACIO structure to be used to communicate with the web-client. It is
|
||||
* expected that the implementor of any Guacamole proxy client will provide
|
||||
|
@@ -21,6 +21,7 @@
|
||||
#define __PROTOCOL_H
|
||||
|
||||
#include <png.h>
|
||||
#include <uuid/uuid.h>
|
||||
|
||||
#include "guacio.h"
|
||||
|
||||
@@ -40,6 +41,7 @@ char* guac_unescape_string_inplace(char* str);
|
||||
void guac_send_name(GUACIO* io, const char* name);
|
||||
void guac_send_error(GUACIO* io, const char* error);
|
||||
void guac_send_clipboard(GUACIO* io, const char* data);
|
||||
void guac_send_uuid(GUACIO* io, uuid_t uuid);
|
||||
void guac_send_size(GUACIO* io, int w, int h);
|
||||
void guac_send_copy(GUACIO* io, int srcx, int srcy, int w, int h, int dstx, int dsty);
|
||||
void guac_send_png(GUACIO* io, int x, int y, png_byte** png_rows, int w, int h);
|
||||
|
Reference in New Issue
Block a user