Skip to content

Commit

Permalink
GUACAMOLE-1841: Rebase fixups.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuehlner committed Nov 1, 2024
1 parent b929dea commit 46d0939
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/libguac/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ noinst_HEADERS = \
display-priv.h \
encode-jpeg.h \
encode-png.h \
id.h \
palette.h \
raw_encoder.h \
user-handlers.h \
Expand Down Expand Up @@ -160,7 +159,6 @@ libguac_la_SOURCES = \
socket-broadcast.c \
socket-fd.c \
socket-nest.c \
socket-tcp.c \
socket-tee.c \
string.c \
tcp.c \
Expand Down
32 changes: 32 additions & 0 deletions src/libguac/guacamole/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,31 @@ struct guac_client {
*/
guac_client_log_handler* log_handler;

/**
* Pool of buffer indices. Buffers are simply layers with negative indices.
* Note that because guac_pool always gives non-negative indices starting
* at 0, the output of this guac_pool will be adjusted.
*/
guac_pool* __buffer_pool;

/**
* Pool of layer indices. Note that because guac_pool always gives
* non-negative indices starting at 0, the output of this guac_pool will
* be adjusted.
*/
guac_pool* __layer_pool;

/**
* Pool of stream indices.
*/
guac_pool* __stream_pool;

/**
* All available client-level output streams (data going to all connected
* users).
*/
guac_stream* __output_streams;

/**
* The unique identifier allocated for the connection, which may
* be used within the Guacamole protocol to refer to this connection.
Expand Down Expand Up @@ -290,6 +315,13 @@ struct guac_client {
*/
const char** args;

/**
* Handle to the dlopen()'d plugin, which should be given to dlclose() when
* this client is freed. This is only assigned if guac_client_load_plugin()
* is used.
*/
void* __plugin_handle;

/**
* Internal-only client data.
*/
Expand Down

0 comments on commit 46d0939

Please sign in to comment.