libguac  0.9.11-incubating
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_CLOSED, GUAC_STATUS_TIMEOUT,
  GUAC_STATUS_SEE_ERRNO, GUAC_STATUS_IO_ERROR, GUAC_STATUS_INVALID_ARGUMENT, GUAC_STATUS_INTERNAL_ERROR,
  GUAC_STATUS_NO_SPACE, GUAC_STATUS_INPUT_TOO_LARGE, GUAC_STATUS_RESULT_TOO_LARGE, GUAC_STATUS_PERMISSION_DENIED,
  GUAC_STATUS_BUSY, GUAC_STATUS_NOT_AVAILABLE, GUAC_STATUS_NOT_SUPPORTED, GUAC_STATUS_NOT_INPLEMENTED,
  GUAC_STATUS_TRY_AGAIN, GUAC_STATUS_PROTOCOL_ERROR, GUAC_STATUS_NOT_FOUND, GUAC_STATUS_CANCELED,
  GUAC_STATUS_OUT_OF_RANGE, GUAC_STATUS_REFUSED, GUAC_STATUS_TOO_MANY, GUAC_STATUS_WOULD_BLOCK
}
 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_CLOSED 

The resource associated with the operation can no longer be used as it has reached the end of its normal lifecycle.

GUAC_STATUS_TIMEOUT 

Time ran out before the operation could complete.

GUAC_STATUS_SEE_ERRNO 

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

GUAC_STATUS_IO_ERROR 

An I/O error prevented the operation from succeeding.

GUAC_STATUS_INVALID_ARGUMENT 

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

GUAC_STATUS_INTERNAL_ERROR 

The operation failed due to a bug in the software or a serious system problem.

GUAC_STATUS_NO_SPACE 

Insufficient space remaining to complete the operation.

GUAC_STATUS_INPUT_TOO_LARGE 

The operation failed because the input provided is too large.

GUAC_STATUS_RESULT_TOO_LARGE 

The operation failed because the result could not be stored in the space provided.

GUAC_STATUS_PERMISSION_DENIED 

Permission was denied to perform the operation.

GUAC_STATUS_BUSY 

The operation could not be performed because associated resources are busy.

GUAC_STATUS_NOT_AVAILABLE 

The operation could not be performed because, while the associated resources do exist, they are not currently available for use.

GUAC_STATUS_NOT_SUPPORTED 

The requested operation is not supported.

GUAC_STATUS_NOT_INPLEMENTED 

Support for the requested operation is not yet implemented.

GUAC_STATUS_TRY_AGAIN 

The operation is temporarily unable to be performed, but may succeed if reattempted.

GUAC_STATUS_PROTOCOL_ERROR 

A violation of the Guacamole protocol occurred.

GUAC_STATUS_NOT_FOUND 

The operation could not be performed because the requested resources do not exist.

GUAC_STATUS_CANCELED 

The operation was canceled prior to completion.

GUAC_STATUS_OUT_OF_RANGE 

The operation could not be performed because input values are outside the allowed range.

GUAC_STATUS_REFUSED 

The operation could not be performed because access to an underlying resource is explicitly not allowed, though not necessarily due to permissions.

GUAC_STATUS_TOO_MANY 

The operation failed because too many resources are already in use.

GUAC_STATUS_WOULD_BLOCK 

The operation was not performed because it would otherwise block.