These values can be returned by Calls to the Database-API. They are returned as an integer (int) or a type kogmo_rtdb_objid_t.
So far, they are based on errno.h for simplicity.
.
More...
Defines | |
#define | KOGMO_RTDB_ERR_NOPERM EACCES |
13 Permission denied | |
#define | KOGMO_RTDB_ERR_NOTFOUND ENOENT |
2 Object/Process not found | |
#define | KOGMO_RTDB_ERR_NOMEMORY ENOMEM |
12 Out of Memory | |
#define | KOGMO_RTDB_ERR_INVALID EINVAL |
22 Invalid Argument(s) | |
#define | KOGMO_RTDB_ERR_OUTOFOBJ EMFILE |
24 Out of Object/Process Slots | |
#define | KOGMO_RTDB_ERR_NOTUNIQ EEXIST |
17 Unique Object already exists | |
#define | KOGMO_RTDB_ERR_UNKNOWN EPERM |
1 General/unspecified error (-1) | |
#define | KOGMO_RTDB_ERR_CONNDENY ECONNREFUSED |
111 Connection refused | |
#define | KOGMO_RTDB_ERR_NOCONN ENOTCONN |
107 Not connected to the RTDB, can be returned by any function with a database handle, | |
#define | KOGMO_RTDB_ERR_HISTWRAP ESTALE |
even if not explicitly specified as possible return value | |
#define | KOGMO_RTDB_ERR_TOOFAST EAGAIN |
11 Updates too fast, try again | |
#define | KOGMO_RTDB_ERR_TIMEOUT ETIMEDOUT |
Waiting for data timed out. | |
Variables | |
int | kogmo_rtdb_debug |
current debug-level (internal) |
These values can be returned by Calls to the Database-API. They are returned as an integer (int) or a type kogmo_rtdb_objid_t.
So far, they are based on errno.h for simplicity.
.
Please note:
#define KOGMO_RTDB_ERR_CONNDENY ECONNREFUSED |
111 Connection refused
Definition at line 841 of file kogmo_rtdb_funcs.h.
#define KOGMO_RTDB_ERR_HISTWRAP ESTALE |
even if not explicitly specified as possible return value
116 History wrap-around, stale data
Definition at line 844 of file kogmo_rtdb_funcs.h.
#define KOGMO_RTDB_ERR_INVALID EINVAL |
22 Invalid Argument(s)
Definition at line 837 of file kogmo_rtdb_funcs.h.
#define KOGMO_RTDB_ERR_NOCONN ENOTCONN |
107 Not connected to the RTDB, can be returned by any function with a database handle,
Definition at line 842 of file kogmo_rtdb_funcs.h.
#define KOGMO_RTDB_ERR_NOMEMORY ENOMEM |
12 Out of Memory
Definition at line 836 of file kogmo_rtdb_funcs.h.
#define KOGMO_RTDB_ERR_NOPERM EACCES |
13 Permission denied
Definition at line 834 of file kogmo_rtdb_funcs.h.
#define KOGMO_RTDB_ERR_NOTFOUND ENOENT |
2 Object/Process not found
Definition at line 835 of file kogmo_rtdb_funcs.h.
#define KOGMO_RTDB_ERR_NOTUNIQ EEXIST |
17 Unique Object already exists
Definition at line 839 of file kogmo_rtdb_funcs.h.
#define KOGMO_RTDB_ERR_OUTOFOBJ EMFILE |
24 Out of Object/Process Slots
Definition at line 838 of file kogmo_rtdb_funcs.h.
#define KOGMO_RTDB_ERR_TIMEOUT ETIMEDOUT |
Waiting for data timed out.
Definition at line 846 of file kogmo_rtdb_funcs.h.
#define KOGMO_RTDB_ERR_TOOFAST EAGAIN |
11 Updates too fast, try again
Definition at line 845 of file kogmo_rtdb_funcs.h.
#define KOGMO_RTDB_ERR_UNKNOWN EPERM |
1 General/unspecified error (-1)
Definition at line 840 of file kogmo_rtdb_funcs.h.
int kogmo_rtdb_debug |
current debug-level (internal)