FreeTDS API

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