CrissCross Namespace Reference

The CrissCross main namespace. More...


Namespaces

namespace  Crypto
 The cryptographic routine namespace.
namespace  Data
 The data structure namespace.
namespace  Debug
 The debug namespace.
namespace  Filesystem
 The filesystem namespace.
namespace  IO
 The input/output namespace.
namespace  Network
 The network input/output namespace.
namespace  System
 The system call namespace.
namespace  Version
 The library version namespace.

Enumerations

enum  Errors {
  CC_ERR_TIMED_OUT = -12, CC_ERR_NO_SOCK = -11, CC_ERR_WOULD_BLOCK = -10, CC_ERR_NOT_SOCKET = -9,
  CC_ERR_BADPARAMETER = -8 , CC_ERR_FILE_OPEN = -6, CC_ERR_WRITE = -5, CC_ERR_INTERNAL = -4,
  CC_ERR_INVALID_CALL = -3, CC_ERR_INVALID_BUFFER = -2, CC_ERR_INCOMPATIBLE_BUFFER = -1, CC_ERR_NONE = 0
}
 The error types. More...

Functions

int TranslateError (int why)
 Converts an errno number to a CrissCross::Errors value.
const char * GetErrorDescription (int why)
 Gets the name of the CrissCross::Errors value.


Detailed Description

The CrissCross main namespace.

All CrissCross classes and functions are kept in this namespace.


Enumeration Type Documentation

enum Errors

The error types.

These errors are used throughout the entire project. If you get an error while calling a function, find that error number in this list.

Enumerator:
CC_ERR_TIMED_OUT  The connection attempt timed out.
CC_ERR_NO_SOCK  No connection was accepted.
CC_ERR_WOULD_BLOCK  Non-blocking I/O is enabled and the requested operation would block.
CC_ERR_NOT_SOCKET  An operation was attempted on an invalid socket.
CC_ERR_BADPARAMETER  One of the parameters passed to the function was not valid.
CC_ERR_FILE_OPEN  The specified file could not be opened.
CC_ERR_WRITE  The buffer could not be written to.
CC_ERR_INTERNAL  A call inside the function failed.
CC_ERR_INVALID_CALL  The function call was invalid.
CC_ERR_INVALID_BUFFER  The buffer was NULL (file not opened?).
CC_ERR_INCOMPATIBLE_BUFFER  The buffer was incompatible (i.e. reading unicode data on a non-unicode buffer).
CC_ERR_NONE  Everything is fine, nothing is ruined.


Generated on Sun Feb 8 11:09:59 2009 for CrissCross by  doxygen 1.5.8