summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sltdl/sltdl.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/sltdl/sltdl.h b/include/sltdl/sltdl.h
index 2a03d6f..cb17c4b 100644
--- a/include/sltdl/sltdl.h
+++ b/include/sltdl/sltdl.h
@@ -29,6 +29,22 @@ extern "C" {
/* default dlsym vtable, see also: slibtool -dlpreopen self */
#define lt_preloaded_symbols lt__PROGRAM__LTX_preloaded_symbols
+enum sltdl_error {
+ SLTDL_ERR_OK,
+ SLTDL_ERR_SYSTEM_ERROR,
+ SLTDL_ERR_DLFCN_ERROR,
+ SLTDL_ERR_SLTDL_ERROR,
+ SLTDL_ERR_DLEXIT_REF_COUNT,
+ SLTDL_ERR_MODULE_REF_COUNT,
+ SLTDL_ERR_MODULE_PTR_INVALID,
+ SLTDL_ERR_PATH_INVALID_FIRST_CHAR,
+ SLTDL_ERR_PATH_INVALID_SEPARATTOR_CHAR,
+ SLTDL_ERR_PATH_INVALID_MARK,
+ SLTDL_ERR_PATH_INVALID_LEN,
+ SLTDL_ERR_PATH_NO_ENTRY,
+ SLTDL_ERR_CAP,
+};
+
/* loader priority */
enum lt_dlpriority {
LT_DLLOADER_PREPEND,