]> git.saurik.com Git - wxWidgets.git/blame - src/iodbc/dlproc.h
changed make_int, make_exp .. to wxmake_int..
[wxWidgets.git] / src / iodbc / dlproc.h
CommitLineData
7e616b10
RR
1#ifndef _DLPROC_H
2# define _DLPROC_H
1a6944fd 3
7e616b10 4# include <../iodbc/dlf.h>
1a6944fd 5
7e616b10
RR
6# ifdef OS2
7 typedef RETCODE (FAR* _System HPROC)();
8# else
9 typedef RETCODE (FAR* HPROC)();
10# endif
1a6944fd 11
7e616b10
RR
12# ifdef DLDAPI_SVR4_DLFCN
13# include <dlfcn.h>
14 typedef void* HDLL;
1a6944fd
RR
15# endif
16
17# ifdef DLDAPI_HP_SHL
7e616b10
RR
18# include <dl.h>
19 typedef shl_t HDLL;
20# endif
21
22# ifdef DLDAPI_AIX_LOAD
23 typedef void* HDLL;
1a6944fd
RR
24# endif
25
7e616b10
RR
26# ifdef DLDAPI_OS2
27 typedef HMODULE HDLL;
1a6944fd
RR
28# endif
29
7e616b10
RR
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);
1a6944fd 35
7e616b10
RR
36#define SQL_NULL_HDLL ((HDLL)NULL)
37#define SQL_NULL_HPROC ((HPROC)NULL)
1a6944fd
RR
38
39#endif