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 161 const char* path,
const char* name,
int create_path,
162 int include_output,
int include_mouse,
int include_touch,
163 int include_keys,
int allow_write_existing);
202 int x,
int y,
int button_mask);
239 int id,
int x,
int y,
int x_radius,
int y_radius,
240 double angle,
double force);
257 int keysym,
int pressed);
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.
int include_mouse
Non-zero if changes to mouse state, such as position and buttons pressed or released, should be included in the session recording, zero otherwise.
Definition: recording.h:78
int include_touch
Non-zero if multi-touch events should be included in the session recording, zero otherwise.
Definition: recording.h:87
int include_keys
Non-zero if keys pressed and released should be included in the session recording, zero otherwise.
Definition: recording.h:96
The core I/O object of Guacamole.
Definition: socket.h:39
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.
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.
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, int allow_write_existing)
Replaces the socket of the given client such that all further Guacamole protocol output will be copie...
An in-progress session recording, attached to a guac_client instance such that output Guacamole instr...
Definition: recording.h:56
void guac_recording_free(guac_recording *recording)
Frees the resources associated with the given in-progress recording.
Guacamole proxy client.
Definition: client.h:48
guac_socket * socket
The guac_socket which writes directly to the recording file, rather than to any particular user...
Definition: recording.h:62
Functions and structure contents for the Guacamole proxy client.
int include_output
Non-zero if output which is broadcast to each connected client (graphics, streams, etc.) should be included in the session recording, zero otherwise.
Definition: recording.h:70