FreeTDS API: include/sqlfront.h Source File

FreeTDS API

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