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
25static const char rcsid_sqlfront_h[] = "$Id: sqlfront.h,v 1.6.2.3 2011/07/14 12:17:55 freddy77 Exp $";
26static const void *const no_unused_sqlfront_h_warn[] = { rcsid_sqlfront_h, no_unused_sqlfront_h_warn };
27
28typedef DBPROCESS * PDBPROCESS;
29typedef LOGINREC * PLOGINREC;
30typedef DBCURSOR * PDBCURSOR;
31
32typedef int * LPINT;
33typedef char * LPSTR;
34#if !defined(PHP_MSSQL_H) || !defined(PHP_MSSQL_API)
35typedef BYTE * LPBYTE;
36#endif
37typedef void * LPVOID;
38typedef const char * LPCSTR;
39
40typedef const LPINT LPCINT;
41#ifndef _LPCBYTE_DEFINED
42#define _LPCBYTE_DEFINED
43typedef const BYTE * LPCBYTE;
44#endif
45typedef USHORT * LPUSHORT;
46typedef const LPUSHORT LPCUSHORT;
47typedef DBINT * LPDBINT;
48typedef const LPDBINT LPCDBINT;
49typedef DBBINARY * LPDBBINARY;
50typedef const LPDBBINARY LPCDBBINARY;
51typedef DBDATEREC * LPDBDATEREC;
52typedef const LPDBDATEREC LPCDBDATEREC;
53typedef DBDATETIME * LPDBDATETIME;
54typedef const LPDBDATETIME LPCDBDATETIME;
55
56#endif
57