]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/iodbc/dlproc.h
updated i18n sample, french translations are now in the "fr" subdirectory.
[wxWidgets.git] / src / iodbc / dlproc.h
... / ...
CommitLineData
1#ifndef _DLPROC_H
2# define _DLPROC_H
3
4# include <../iodbc/dlf.h>
5
6# ifdef OS2
7 typedef RETCODE (FAR* _System HPROC)();
8# else
9 typedef RETCODE (FAR* HPROC)();
10# endif
11
12# ifdef DLDAPI_SVR4_DLFCN
13# include <dlfcn.h>
14 typedef void* HDLL;
15# endif
16
17# ifdef DLDAPI_HP_SHL
18# include <dl.h>
19 typedef shl_t HDLL;
20# endif
21
22# ifdef DLDAPI_AIX_LOAD
23 typedef void* HDLL;
24# endif
25
26# ifdef DLDAPI_OS2
27 typedef HMODULE HDLL;
28# endif
29
30extern HPROC _iodbcdm_getproc();
31extern HDLL _iodbcdm_dllopen(char FAR* dll);
32extern HPROC _iodbcdm_dllproc(HDLL hdll, char FAR* sym);
33extern char FAR* _iodbcdm_dllerror();
34extern int _iodbcdm_dllclose(HDLL hdll);
35
36#define SQL_NULL_HDLL ((HDLL)NULL)
37#define SQL_NULL_HPROC ((HPROC)NULL)
38
39#endif