From ee349908c747721e6e2f88a5ba41fd0bb9e4b989 Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Tue, 7 Jun 2016 04:21:22 +0300 Subject: [PATCH] sxt: added few new errnos; --- include/sxt/errno.h | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/include/sxt/errno.h b/include/sxt/errno.h index ef6b0bb..904ed53 100644 --- a/include/sxt/errno.h +++ b/include/sxt/errno.h @@ -29,8 +29,22 @@ #define SXT_SUCCESS (SXT_EBASESHIFT - SXT_EBASESHIFT) #define SXT_EBASESHIFT 300 -#define SXT_ECRYPTO (SXT_EBASESHIFT + 12) -#define SXT_EINVAL (SXT_EBASESHIFT + 22) -#define SXT_ENOMEM (SXT_EBASESHIFT + 42) +#define SXT_ERROR (SXT_EBASESHIFT + 1) +#define SXT_EPROTO (SXT_EBASESHIFT + 2) +#define SXT_ESOCKET (SXT_EBASESHIFT + 3) +#define SXT_EBUSY (SXT_EBASESHIFT + 4) +#define SXT_EAGAIN (SXT_EBASESHIFT + 5) +#define SXT_ENOSUCHMSGTYPE (SXT_EBASESHIFT + 6) +#define SXT_ENOSUCHCHAN (SXT_EBASESHIFT + 7) +#define SXT_ENORPC (SXT_EBASESHIFT + 8) +#define SXT_ENOMSG (SXT_EBASESHIFT + 9) +#define SXT_EPERM (SXT_EBASESHIFT + 10) +#define SXT_EACCES (SXT_EBASESHIFT + 11) +#define SXT_ECRYPTO (SXT_EBASESHIFT + 12) +#define SXT_EAUTH (SXT_EBASESHIFT + 13) +#define SXT_EKEY (SXT_EBASESHIFT + 14) +#define SXT_EHASH (SXT_EBASESHIFT + 15) +#define SXT_EINVAL (SXT_EBASESHIFT + 22) +#define SXT_ENOMEM (SXT_EBASESHIFT + 42) #endif /* __SXT_ERRNO_H__ */