20#ifndef GUAC_RECORDING_H
21#define GUAC_RECORDING_H
36#define GUAC_COMMON_RECORDING_MAX_SUFFIX 255
43#define GUAC_COMMON_RECORDING_MAX_SUFFIX_LENGTH 4
49#define GUAC_COMMON_RECORDING_MAX_NAME_LENGTH 2048
157 const char* path,
const char* name,
int create_path,
158 int include_output,
int include_mouse,
int include_touch,
198 int x,
int y,
int button_mask);
235 int id,
int x,
int y,
int x_radius,
int y_radius,
236 double angle,
double force);
253 int keysym,
int pressed);
Functions and structure contents for the Guacamole proxy client.
void guac_recording_report_mouse(guac_recording *recording, int x, int y, int button_mask)
Reports the current mouse position and button state within the recording.
void guac_recording_report_key(guac_recording *recording, int keysym, int pressed)
Reports a change in the state of an individual key within the recording.
void guac_recording_report_touch(guac_recording *recording, int id, int x, int y, int x_radius, int y_radius, double angle, double force)
Reports the current state of a touch contact within the recording.
guac_recording * guac_recording_create(guac_client *client, const char *path, const char *name, int create_path, int include_output, int include_mouse, int include_touch, int include_keys)
Replaces the socket of the given client such that all further Guacamole protocol output will be copie...
void guac_recording_free(guac_recording *recording)
Frees the resources associated with the given in-progress recording.
Guacamole proxy client.
Definition client.h:48
An in-progress session recording, attached to a guac_client instance such that output Guacamole instr...
Definition recording.h:56
int include_touch
Non-zero if multi-touch events should be included in the session recording, zero otherwise.
Definition recording.h:87
int include_mouse
Non-zero if changes to mouse state, such as position and buttons pressed or released,...
Definition recording.h:78
int include_output
Non-zero if output which is broadcast to each connected client (graphics, streams,...
Definition recording.h:70
int include_keys
Non-zero if keys pressed and released should be included in the session recording,...
Definition recording.h:96
guac_socket * socket
The guac_socket which writes directly to the recording file, rather than to any particular user.
Definition recording.h:62
The core I/O object of Guacamole.
Definition socket.h:39