1 | /* FreeTDS - Library of routines accessing Sybase and Microsoft databases |
2 | * Copyright (C) 1998-1999 Brian Bruns |
3 | * |
4 | * This library is free software; you can redistribute it and/or |
5 | * modify it under the terms of the GNU Library General Public |
6 | * License as published by the Free Software Foundation; either |
7 | * version 2 of the License, or (at your option) any later version. |
8 | * |
9 | * This library is distributed in the hope that it will be useful, |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
12 | * Library General Public License for more details. |
13 | * |
14 | * You should have received a copy of the GNU Library General Public |
15 | * License along with this library; if not, write to the |
16 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
17 | * Boston, MA 02111-1307, USA. |
18 | */ |
19 | |
20 | #ifndef SQLFRONT_h |
21 | #define SQLFRONT_h |
22 | |
23 | #include "./sybfront.h" |
24 | |
25 | static const char rcsid_sqlfront_h[] = "$Id: sqlfront.h,v 1.6.2.3 2011/07/14 12:17:55 freddy77 Exp $" ; |
26 | static const void *const no_unused_sqlfront_h_warn[] = { rcsid_sqlfront_h, no_unused_sqlfront_h_warn }; |
27 | |
28 | typedef DBPROCESS * PDBPROCESS; |
29 | typedef LOGINREC * PLOGINREC; |
30 | typedef DBCURSOR * PDBCURSOR; |
31 | |
32 | typedef int * LPINT; |
33 | typedef char * LPSTR; |
34 | #if !defined(PHP_MSSQL_H) || !defined(PHP_MSSQL_API) |
35 | typedef BYTE * LPBYTE; |
36 | #endif |
37 | typedef void * LPVOID; |
38 | typedef const char * LPCSTR; |
39 | |
40 | typedef const LPINT LPCINT; |
41 | #ifndef _LPCBYTE_DEFINED |
42 | #define _LPCBYTE_DEFINED |
43 | typedef const BYTE * LPCBYTE; |
44 | #endif |
45 | typedef USHORT * LPUSHORT; |
46 | typedef const LPUSHORT LPCUSHORT; |
47 | typedef DBINT * LPDBINT; |
48 | typedef const LPDBINT LPCDBINT; |
49 | typedef DBBINARY * LPDBBINARY; |
50 | typedef const LPDBBINARY LPCDBBINARY; |
51 | typedef DBDATEREC * LPDBDATEREC; |
52 | typedef const LPDBDATEREC LPCDBDATEREC; |
53 | typedef DBDATETIME * LPDBDATETIME; |
54 | typedef const LPDBDATETIME LPCDBDATETIME; |
55 | |
56 | #endif |
57 | |