libguac  0.9.10-incubating
Enumerations
parser-types.h File Reference

Type definitions related to parsing the Guacamole protocol. More...

Go to the source code of this file.

Enumerations

enum  guac_parse_state { GUAC_PARSE_LENGTH, GUAC_PARSE_CONTENT, GUAC_PARSE_COMPLETE, GUAC_PARSE_ERROR }
 All possible states of the instruction parser. More...
 

Detailed Description

Type definitions related to parsing the Guacamole protocol.

Enumeration Type Documentation

All possible states of the instruction parser.

Enumerator
GUAC_PARSE_LENGTH 

The parser is currently waiting for data to complete the length prefix of the current element of the instruction.

GUAC_PARSE_CONTENT 

The parser has finished reading the length prefix and is currently waiting for data to complete the content of the instruction.

GUAC_PARSE_COMPLETE 

The instruction has been fully parsed.

GUAC_PARSE_ERROR 

The instruction cannot be parsed because of a protocol error.