diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2025-08-19 15:04:04 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2025-08-19 15:04:04 -0400 |
commit | 858a52c06a4615bd58a6a906333f2ad707d41c0a (patch) | |
tree | 16870cd4d67da283567a72a74d28c04464da292a /lib/libjove/include/error.h | |
parent | 65ba015d6c1f248d36ad01a653bc49637804b15b (diff) | |
download | jove-os-858a52c06a4615bd58a6a906333f2ad707d41c0a.tar.gz jove-os-858a52c06a4615bd58a6a906333f2ad707d41c0a.tar.bz2 jove-os-858a52c06a4615bd58a6a906333f2ad707d41c0a.zip |
usermode pager
Diffstat (limited to 'lib/libjove/include/error.h')
-rw-r--r-- | lib/libjove/include/error.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/libjove/include/error.h b/lib/libjove/include/error.h new file mode 100644 index 0000000..bbf7a51 --- /dev/null +++ b/lib/libjove/include/error.h @@ -0,0 +1,22 @@ +#ifndef _LIBJOVE_ERROR_H +#define _LIBJOVE_ERROR_H 1 + +typedef enum _JoveError{ + EJOVE_OK = 0, + EJOVE_KERROR, + EJOVE_NOALLOC, + EJOVE_NOFREE, + EJOVE_NOIMPL, + EJOVE_FULL, + EJOVE_BADOBJ, + EJOVE_BADSIZE, + EJOVE_BADARG, + EJOVE_DNE, + EJOVE_TOOBIG +} JoveError; + +extern JoveError jove_errno; + +JoveError jove_error_from_kerror(int kerror); + +#endif |