1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
|
/*
@(#)File: $RCSfile: esql_ius.h,v $
@(#)Version: $Revision: 2008.2 $
@(#)Last changed: $Date: 2008/03/08 19:34:28 $
@(#)Purpose: Supply key macros from IUS version of sqltypes.h
@(#)Author: J Leffler
@(#)Copyright: (C) JLSS 1998,2003-06,2008
@(#)Product: IBM Informix Database Driver for Perl DBI Version 2008.0513 (2008-05-13)
*/
/*TABSTOP=4*/
#ifndef ESQL_IUS_H
#define ESQL_IUS_H
#ifdef MAIN_PROGRAM
#ifndef lint
/* Prevent over-aggressive optimizers from eliminating ID string */
const char jlss_id_esql_ius_h[] = "@(#)$Id: esql_ius.h,v 2008.2 2008/03/08 19:34:28 jleffler Exp $";
#endif /* lint */
#endif /* MAIN_PROGRAM */
#include "sqltypes.h" /* Include the official version */
/* C types */
#ifndef CINT8TYPE
#define CINT8TYPE 117
#endif
#ifndef CCOLLTYPE
#define CCOLLTYPE 118
#endif
#ifndef CLVCHARTYPE
#define CLVCHARTYPE 119
#endif
#ifndef CFIXBINTYPE
#define CFIXBINTYPE 120
#endif
#ifndef CVARBINTYPE
#define CVARBINTYPE 121
#endif
#ifndef CBOOLTYPE
#define CBOOLTYPE 122
#endif
#ifndef CROWTYPE
#define CROWTYPE 123
#endif
#ifndef CLVCHARPTRTYPE
#define CLVCHARPTRTYPE 124
#endif
#ifndef CBIGINTTYPE
#define CBIGINTTYPE 125
#endif
/* SQL types */
#ifndef SQLNCHAR
#define SQLNCHAR 15
#endif
#ifndef SQLNVCHAR
#define SQLNVCHAR 16
#endif
#ifndef SQLINT8
#define SQLINT8 17
#endif
#ifndef SQLSERIAL8
#define SQLSERIAL8 18
#endif
#ifndef SQLSET
#define SQLSET 19
#endif
#ifndef SQLMULTISET
#define SQLMULTISET 20
#endif
#ifndef SQLLIST
#define SQLLIST 21
#endif
#ifndef SQLROW
#define SQLROW 22
#endif
#ifndef SQLCOLLECTION
#define SQLCOLLECTION 23
#endif
#ifndef SQLROWREF
#define SQLROWREF 24
#endif
/* Note: SQLXXX values from 25 through 39 are reserved. */
#ifndef SQLUDTVAR
#define SQLUDTVAR 40
#endif
#ifndef SQLUDTFIXED
#define SQLUDTFIXED 41
#endif
#ifndef SQLREFSER8
#define SQLREFSER8 42
#endif
#ifndef SQLLVARCHAR
#define SQLLVARCHAR 43
#endif
#ifndef SQLSENDRECV
#define SQLSENDRECV 44
#endif
#ifndef SQLBOOL
#define SQLBOOL 45
#endif
#ifndef SQLIMPEXP
#define SQLIMPEXP 46
#endif
#ifndef SQLIMPEXPBIN
#define SQLIMPEXPBIN 47
#endif
#ifndef SQLDISTINCT
#define SQLDISTINCT 0x0800
#endif
#ifndef ISDISTINCTTYPE
#define ISDISTINCTTYPE(x) ((x) & SQLDISTINCT)
#endif
#ifndef SQLUNKNOWN
#define SQLUNKNOWN 51
#endif
#ifndef SQLINFXBIGINT
#define SQLINFXBIGINT 52 /* Avoid collision with ODBC */
#endif
#ifndef SQLBIGSERIAL
#define SQLBIGSERIAL 53
#endif
#endif /* ESQL_IUS_H */
|