summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2025-06-20 04:44:36 +0000
committermidipix <writeonce@midipix.org>2025-06-20 05:50:01 +0000
commit18e138eff200134cd8836669d9b9f464ffafae3d (patch)
treec6bee39cb829a6944cab3ccfa583eddbf78eb1fb
parenta4b26a91424f53d192d80c5ca470c7514b6fb254 (diff)
downloadsltdl-18e138eff200134cd8836669d9b9f464ffafae3d.tar.bz2
sltdl-18e138eff200134cd8836669d9b9f464ffafae3d.tar.xz
sltdl.h: provide enum lt_dlpriority and the lt_dlloader_priority typedef.
-rw-r--r--include/sltdl/sltdl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sltdl/sltdl.h b/include/sltdl/sltdl.h
index 640d3d9..3039529 100644
--- a/include/sltdl/sltdl.h
+++ b/include/sltdl/sltdl.h
@@ -29,6 +29,14 @@ extern "C" {
/* default dlsym vtable, see also: slibtool -dlpreopen self */
#define lt_preloaded_symbols lt__PROGRAM__LTX_preloaded_symbols
+/* loader priority */
+enum lt_dlpriority {
+ LT_DLLOADER_PREPEND,
+ LT_DLLOADER_APPEND,
+};
+
+typedef enum lt_dlpriority lt_dlloader_priority;
+
/* binary-compatible type definitions */
typedef void * lt_ptr;