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