]> git.saurik.com Git - wxWidgets.git/blob - src/iodbc/dlproc.h
added wxListView class: this is going to be a wxListCtrl with human (inter)face
[wxWidgets.git] / src / iodbc / dlproc.h
1 /*
2 * dlproc.h
3 *
4 * $Id$
5 *
6 * Load driver and resolve driver's function entry point
7 *
8 * The iODBC driver manager.
9 *
10 * Copyright (C) 1995 by Ke Jin <kejin@empress.com>
11 *
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Library General Public
14 * License as published by the Free Software Foundation; either
15 * version 2 of the License, or (at your option) any later version.
16 *
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Library General Public License for more details.
21 *
22 * You should have received a copy of the GNU Library General Public
23 * License along with this library; if not, write to the Free
24 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 */
26 #ifndef _DLPROC_H
27 #define _DLPROC_H
28
29 #include "dlf.h"
30
31 typedef RETCODE (FAR * HPROC) ();
32
33 #ifdef DLDAPI_SVR4_DLFCN
34 #include <dlfcn.h>
35 typedef void *HDLL;
36 #endif
37
38 #ifdef DLDAPI_HP_SHL
39 #include <dl.h>
40 typedef shl_t HDLL;
41 #endif
42
43 #if defined(DLDAPI_AIX_LOAD) || defined(__DECCXX)
44 typedef void *HDLL;
45 #endif
46
47 extern HPROC _iodbcdm_getproc ();
48 extern HDLL _iodbcdm_dllopen (char FAR * dll);
49 extern HPROC _iodbcdm_dllproc (HDLL hdll, char FAR * sym);
50 extern char FAR *_iodbcdm_dllerror ();
51 extern int _iodbcdm_dllclose (HDLL hdll);
52
53 #define SQL_NULL_HDLL ((HDLL)NULL)
54 #define SQL_NULL_HPROC ((HPROC)NULL)
55 #endif