forked from lei.chen/myxce
25 lines
406 B
C
25 lines
406 B
C
#if !defined(__XCE_ERRNOX_H__)
|
|
|
|
#define __XCE_ERRNOX_H__ 1
|
|
|
|
#include <errno.h>
|
|
#include <stddef.h>
|
|
#include <string.h>
|
|
|
|
#define XCE_ERRNO_BASE (10001)
|
|
|
|
enum {
|
|
E_XCE_BAD_JOB = XCE_ERRNO_BASE,
|
|
E_XCE_BAD_WORKER,
|
|
E_XCE_DUP_JOB,
|
|
E_XCE_DUP_WORKER,
|
|
E_XCE_BAD_OPCODE,
|
|
E_XCE_BAD_ROLE,
|
|
E_XCE_BAD_RES,
|
|
E_XCE_BAD_QUEUE,
|
|
E_XCE_BAD_GROUP,
|
|
E_XCE_INTERNAL,
|
|
E_XCE_MAX
|
|
};
|
|
|
|
#endif
|