GUAC-1172: Add constants for the root object name and the mimetype of a stream index.

This commit is contained in:
Michael Jumper 2015-06-20 16:07:37 -07:00
parent 9321312fce
commit 60b3386733

View File

@ -49,6 +49,18 @@
*/
#define GUAC_CLIENT_UNDEFINED_OBJECT_INDEX -1
/**
* The stream name reserved for the root of a Guacamole protocol object.
*/
#define GUAC_CLIENT_OBJECT_ROOT_NAME "/"
/**
* The mimetype of a stream containing a map of available stream names to their
* corresponding mimetypes. The root of a Guacamole protocol object is
* guaranteed to have this type.
*/
#define GUAC_CLIENT_STREAM_INDEX_MIMETYPE "application/vnd.glyptodon.guacamole.stream-index+json"
/**
* The flag set in the mouse button mask when the left mouse button is down.
*/