1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13: #ifndef DLN_H
14: #define DLN_H
15:
16: #ifdef __cplusplus
17: # ifndef HAVE_PROTOTYPES
18: # define HAVE_PROTOTYPES 1
19: # endif
20: # ifndef HAVE_STDARG_PROTOTYPES
21: # define HAVE_STDARG_PROTOTYPES 1
22: # endif
23: #endif
24:
25: #undef _
26: #ifdef HAVE_PROTOTYPES
27: # define _(args) args
28: #else
29: # define _(args) ()
30: #endif
31:
32: char *dln_find_exe(const char*,const char*);
33: char *dln_find_file(const char*,const char*);
34:
35: #ifdef USE_DLN_A_OUT
36: extern char *dln_argv0;
37: #endif
38:
39: void *dln_load(const char*);
40: #endif