summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-12-21 14:40:23 +0000
committermidipix <writeonce@midipix.org>2019-12-21 14:43:47 +0000
commit8744a55869e9d0288bebf8f340d5186dc99922e9 (patch)
tree7e85b418d7a9949ee7946a21933a3c951830826f /src/internal
parent64a26cc67d6782d1ee8812c8c1307a2607144b97 (diff)
downloadsltdl-8744a55869e9d0288bebf8f340d5186dc99922e9.tar.bz2
sltdl-8744a55869e9d0288bebf8f340d5186dc99922e9.tar.xz
lt_dlerror(): initial implementation and integration.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/sltdl_core.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/internal/sltdl_core.h b/src/internal/sltdl_core.h
index f74542e..35e1a24 100644
--- a/src/internal/sltdl_core.h
+++ b/src/internal/sltdl_core.h
@@ -1,7 +1,23 @@
#ifndef SLTDL_CORE_H
#define SLTDL_CORE_H
+enum sltdl_error {
+ SLTDL_OK,
+ SLTDL_SYSTEM_ERROR,
+ SLTDL_DLFCN_ERROR,
+ SLTDL_SLTDL_ERROR,
+ SLTDL_DLEXIT_REF_COUNT,
+ SLTDL_MODULE_REF_COUNT,
+ SLTDL_MODULE_PTR_INVALID,
+ SLTDL_PATH_INVALID_FIRST_CHAR,
+ SLTDL_PATH_INVALID_SEPARATTOR_CHAR,
+ SLTDL_PATH_INVALID_MARK,
+ SLTDL_PATH_INVALID_LEN,
+ SLTDL_PATH_NO_ENTRY,
+ SLTDL_ERROR_CAP,
+};
+
void lt_slock(void);
-int lt_sunlock(int);
+int lt_sunlock(int,int);
#endif