sunaudio: fix input buffer overrun
[sox.git] / src / win32-ltdl.h
blobb11d5d4b76f6ef8f613f075fe3a4b2d37b315d0d
1 /* libSoX minimal libtool-ltdl for MS-Windows: (c) 2009 SoX contributors
3 * This library is free software; you can redistribute it and/or modify it
4 * under the terms of the GNU Lesser General Public License as published by
5 * the Free Software Foundation; either version 2.1 of the License, or (at
6 * your option) any later version.
8 * This library is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
11 * General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this library; if not, write to the Free Software Foundation,
15 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 #ifndef LTDL_H
19 #define LTDL_H 1
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
25 #define LT_PATHSEP_CHAR ';'
26 #define LT_DIRSEP_CHAR '\\'
28 struct lt__handle;
29 typedef struct lt__handle *lt_dlhandle;
30 typedef void *lt_ptr;
32 int
33 lt_dlinit(void);
35 int
36 lt_dlexit(void);
38 int
39 lt_dlsetsearchpath(const char *search_path);
41 int
42 lt_dlforeachfile(
43 const char *szSearchPath,
44 int (*pfCallback)(const char *szFileName, lt_ptr pData),
45 lt_ptr pData);
47 lt_dlhandle
48 lt_dlopen(
49 const char *szFileName);
51 lt_dlhandle
52 lt_dlopenext(
53 const char *szFileName);
55 lt_ptr
56 lt_dlsym(
57 lt_dlhandle hModule,
58 const char *szSymbolName);
60 const char *
61 lt_dlerror(void);
63 int
64 lt_dlclose(
65 lt_dlhandle handle);
67 #ifdef __cplusplus
69 #endif
71 #endif /* ifndef LTDL_H */