1.1.5
by akira yamada
Import upstream version 1.8.6 |
1 |
/**********************************************************************
|
2 |
||
3 |
dln.h -
|
|
4 |
||
5 |
$Author: shyouhei $
|
|
6 |
$Date: 2007-02-13 08:01:19 +0900 (Tue, 13 Feb 2007) $
|
|
7 |
created at: Wed Jan 19 16:53:09 JST 1994
|
|
8 |
||
9 |
Copyright (C) 1993-2003 Yukihiro Matsumoto
|
|
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
|