2000-05-01 13:42:38 +04:00
|
|
|
/**********************************************************************
|
1998-01-16 15:13:05 +03:00
|
|
|
|
|
|
|
dln.h -
|
|
|
|
|
|
|
|
$Author$
|
|
|
|
$Date$
|
|
|
|
created at: Wed Jan 19 16:53:09 JST 1994
|
|
|
|
|
2003-01-16 10:34:03 +03:00
|
|
|
Copyright (C) 1993-2003 Yukihiro Matsumoto
|
2000-05-01 13:42:38 +04:00
|
|
|
|
|
|
|
**********************************************************************/
|
|
|
|
|
1998-01-16 15:13:05 +03:00
|
|
|
#ifndef DLN_H
|
|
|
|
#define DLN_H
|
|
|
|
|
2001-12-21 10:20:23 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
# ifndef HAVE_PROTOTYPES
|
|
|
|
# define HAVE_PROTOTYPES 1
|
|
|
|
# endif
|
|
|
|
# ifndef HAVE_STDARG_PROTOTYPES
|
|
|
|
# define HAVE_STDARG_PROTOTYPES 1
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2000-12-26 11:08:50 +03:00
|
|
|
#undef _
|
|
|
|
#ifdef HAVE_PROTOTYPES
|
1999-01-20 07:59:39 +03:00
|
|
|
# define _(args) args
|
2000-12-26 11:08:50 +03:00
|
|
|
#else
|
|
|
|
# define _(args) ()
|
1999-01-20 07:59:39 +03:00
|
|
|
#endif
|
|
|
|
|
1999-08-13 09:45:20 +04:00
|
|
|
char *dln_find_exe _((const char*,const char*));
|
|
|
|
char *dln_find_file _((const char*,const char*));
|
1998-01-16 15:13:05 +03:00
|
|
|
|
|
|
|
#ifdef USE_DLN_A_OUT
|
|
|
|
extern char *dln_argv0;
|
|
|
|
#endif
|
|
|
|
|
2001-05-02 08:22:21 +04:00
|
|
|
void *dln_load _((const char*));
|
1998-01-16 15:13:05 +03:00
|
|
|
#endif
|