Commit | Line | Data |
---|---|---|
ac7cc462 RB |
1 | /* guile-ltdl.h -- dlopen function actually used by guile |
2 | Copyright (C) 1998-2000, 2002 Free Software Foundation, Inc. | |
3 | ||
4 | This library is free software; you can redistribute it and/or | |
5 | modify it under the terms of the GNU Lesser General Public | |
6 | License as published by the Free Software Foundation; either | |
7 | version 2 of the License, or (at your option) any later version. | |
8 | ||
9 | As a special exception to the GNU Lesser General Public License, | |
10 | if you distribute this file as part of a program or library that | |
11 | is built using GNU libtool, you may include it under the same | |
12 | distribution terms that you use for the rest of that program. | |
13 | ||
14 | This library is distributed in the hope that it will be useful, | |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
17 | Lesser General Public License for more details. | |
18 | ||
19 | You should have received a copy of the GNU Lesser General Public | |
20 | License along with this library; if not, write to the Free | |
92205699 MV |
21 | Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
22 | 02110-1301 USA | |
ac7cc462 RB |
23 | */ |
24 | ||
25 | /* Only include this header file once. */ | |
26 | #ifndef SCM_LTDL_H | |
27 | #define SCM_LTDL_H 1 | |
28 | ||
29 | typedef struct scm_i_lt_dlhandle_struct *scm_lt_dlhandle; | |
a798ac8c | 30 | typedef struct scm_i_lt_dlsymlist_struct scm_lt_dlsymlist; |
ac7cc462 RB |
31 | typedef void * scm_lt_ptr; |
32 | ||
a798ac8c | 33 | void scm_lt_dlpreload_default (const scm_lt_dlsymlist *preloads); |
ac7cc462 RB |
34 | int scm_lt_dlinit (void); |
35 | scm_lt_dlhandle scm_lt_dlopenext (const char *filename); | |
36 | scm_lt_ptr scm_lt_dlsym (scm_lt_dlhandle handle, const char *name); | |
37 | const char *scm_lt_dlerror (void); | |
38 | int scm_lt_dlclose (scm_lt_dlhandle handle); | |
39 | ||
40 | #endif /* !SCM_LTDL_H */ |