libguac  0.9.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Enumerations
error-types.h File Reference

Type definitions related to return values and errors. More...

Go to the source code of this file.

Enumerations

enum  guac_status {
  GUAC_STATUS_SUCCESS = 0, GUAC_STATUS_NO_MEMORY, GUAC_STATUS_NO_INPUT, GUAC_STATUS_INPUT_TIMEOUT,
  GUAC_STATUS_SEE_ERRNO, GUAC_STATUS_OUTPUT_ERROR, GUAC_STATUS_BAD_ARGUMENT, GUAC_STATUS_BAD_STATE
}
 Return codes shared by all Guacamole functions which can fail. More...
 

Detailed Description

Type definitions related to return values and errors.

Enumeration Type Documentation

Return codes shared by all Guacamole functions which can fail.

Enumerator
GUAC_STATUS_SUCCESS 

No errors occurred and the operation was successful.

GUAC_STATUS_NO_MEMORY 

Insufficient memory to complete the operation.

GUAC_STATUS_NO_INPUT 

The end of the input stream associated with the operation has been reached.

GUAC_STATUS_INPUT_TIMEOUT 

A timeout occurred while reading from the input stream associated with the operation.

GUAC_STATUS_SEE_ERRNO 

An error occurred, and further information about the error is already stored in errno.

GUAC_STATUS_OUTPUT_ERROR 

An error prevented the operation from writing to its associated output stream.

GUAC_STATUS_BAD_ARGUMENT 

The operation could not be performed because an invalid argument was given.

GUAC_STATUS_BAD_STATE 

The state of the associated system prevents an operation from being performed which would otherwise be allowed.