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