diff options
-rw-r--r-- | include/sltdl/sltdl.h | 4 | ||||
-rw-r--r-- | src/core/lt_path.c | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/include/sltdl/sltdl.h b/include/sltdl/sltdl.h index db51e6f..2a03d6f 100644 --- a/include/sltdl/sltdl.h +++ b/include/sltdl/sltdl.h @@ -99,6 +99,10 @@ lt_api void * lt_dlsym(lt_dlhandle, const char *); lt_api int lt_dlclose(lt_dlhandle); lt_api const char * lt_dlerror(void); +/* custom loaders */ +lt_api int lt_dlloader_add(const struct lt_dlentry *); +lt_api const struct lt_dlentry * lt_dlloader_find(const char *); + #ifdef __cplusplus } #endif diff --git a/src/core/lt_path.c b/src/core/lt_path.c index c4e4793..c945b7f 100644 --- a/src/core/lt_path.c +++ b/src/core/lt_path.c @@ -576,3 +576,15 @@ int lt_dlforeachfile( return 0; } + +int lt_dlloader_add(const struct lt_dlentry * ldr) +{ + (void)ldr; + return -1; +} + +const struct lt_dlentry * lt_dlloader_find(const char * ldrname) +{ + (void)ldrname; + return 0; +} |