ykneomgr-types
ykneomgr-types
|
|
Details
ykneomgr_dev
typedef struct ykneomgr_dev ykneomgr_dev;
enum ykneomgr_initflags
typedef enum {
YKNEOMGR_DEBUG = 1
} ykneomgr_initflags;
Flags passed to ykneomgr_global_init()
.
YKNEOMGR_DEBUG
|
Print debug messages.
|
enum ykneomgr_rc
typedef enum {
YKNEOMGR_OK = 0,
YKNEOMGR_MEMORY_ERROR = -1,
YKNEOMGR_NO_DEVICE = -2,
YKNEOMGR_TOO_MANY_DEVICES = -3,
YKNEOMGR_BACKEND_ERROR = -4,
} ykneomgr_rc;
Error codes.
YKNEOMGR_OK
|
Success.
|
YKNEOMGR_MEMORY_ERROR
|
Memory error.
|
YKNEOMGR_NO_DEVICE
|
No device found.
|
YKNEOMGR_TOO_MANY_DEVICES
|
Too many devices found.
|
YKNEOMGR_BACKEND_ERROR
|
Input/Output error.
|