00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef DLN_H
00013 #define DLN_H
00014
00015 #ifdef __cplusplus
00016 # ifndef HAVE_PROTOTYPES
00017 # define HAVE_PROTOTYPES 1
00018 # endif
00019 # ifndef HAVE_STDARG_PROTOTYPES
00020 # define HAVE_STDARG_PROTOTYPES 1
00021 # endif
00022 #endif
00023
00024 #undef _
00025 #ifdef HAVE_PROTOTYPES
00026 # define _(args) args
00027 #else
00028 # define _(args) ()
00029 #endif
00030
00031 #if defined __GNUC__ && __GNUC__ >= 4
00032 #pragma GCC visibility push(default)
00033 #endif
00034
00035 DEPRECATED(char *dln_find_exe(const char*,const char*));
00036 DEPRECATED(char *dln_find_file(const char*,const char*));
00037 char *dln_find_exe_r(const char*,const char*,char*,size_t);
00038 char *dln_find_file_r(const char*,const char*,char*,size_t);
00039
00040 #ifdef USE_DLN_A_OUT
00041 extern char *dln_argv0;
00042 #endif
00043
00044 void *dln_load(const char*);
00045
00046 #if defined __GNUC__ && __GNUC__ >= 4
00047 #pragma GCC visibility pop
00048 #endif
00049
00050 #endif
00051