From 18e138eff200134cd8836669d9b9f464ffafae3d Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 20 Jun 2025 04:44:36 +0000 Subject: sltdl.h: provide enum lt_dlpriority and the lt_dlloader_priority typedef. --- include/sltdl/sltdl.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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; -- cgit v1.2.3