libguac  0.9.8
Enumerations
instruction-types.h File Reference

Type definitions related to Guacamole instructions. More...

Go to the source code of this file.

Enumerations

enum  guac_instruction_parse_state { GUAC_INSTRUCTION_PARSE_LENGTH, GUAC_INSTRUCTION_PARSE_CONTENT, GUAC_INSTRUCTION_PARSE_COMPLETE, GUAC_INSTRUCTION_PARSE_ERROR }
 All possible states of the instruction parser. More...
 

Detailed Description

Type definitions related to Guacamole instructions.

Enumeration Type Documentation

All possible states of the instruction parser.

Enumerator
GUAC_INSTRUCTION_PARSE_LENGTH 

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

GUAC_INSTRUCTION_PARSE_CONTENT 

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

GUAC_INSTRUCTION_PARSE_COMPLETE 

The instruction has been fully parsed.

GUAC_INSTRUCTION_PARSE_ERROR 

The instruction cannot be parsed because of a protocol error.