<!-- This comment will put IE 6, 7 and 8 in quirks mode --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>FreeTDS API: /home/jklowden/releases/freetds-0.91/include/sybdb.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javaScript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body onload='searchBox.OnSelectItem(0);'> <!-- Generated by Doxygen 1.6.3 --> <script type="text/javascript"><!-- var searchBox = new SearchBox("searchBox", "search",false,'Search'); --></script> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <img id="MSearchSelect" src="search/search.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </div> </li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <h1>/home/jklowden/releases/freetds-0.91/include/sybdb.h</h1><a href="a00156.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* FreeTDS - Library of routines accessing Sybase and Microsoft databases</span> <a name="l00002"></a>00002 <span class="comment"> * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Brian Bruns</span> <a name="l00003"></a>00003 <span class="comment"> * Copyright (C) 2010 Frediano Ziglio</span> <a name="l00004"></a>00004 <span class="comment"> *</span> <a name="l00005"></a>00005 <span class="comment"> * This library is free software; you can redistribute it and/or</span> <a name="l00006"></a>00006 <span class="comment"> * modify it under the terms of the GNU Library General Public</span> <a name="l00007"></a>00007 <span class="comment"> * License as published by the Free Software Foundation; either</span> <a name="l00008"></a>00008 <span class="comment"> * version 2 of the License, or (at your option) any later version.</span> <a name="l00009"></a>00009 <span class="comment"> *</span> <a name="l00010"></a>00010 <span class="comment"> * This library is distributed in the hope that it will be useful,</span> <a name="l00011"></a>00011 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00012"></a>00012 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> <a name="l00013"></a>00013 <span class="comment"> * Library General Public License for more details.</span> <a name="l00014"></a>00014 <span class="comment"> *</span> <a name="l00015"></a>00015 <span class="comment"> * You should have received a copy of the GNU Library General Public</span> <a name="l00016"></a>00016 <span class="comment"> * License along with this library; if not, write to the</span> <a name="l00017"></a>00017 <span class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330,</span> <a name="l00018"></a>00018 <span class="comment"> * Boston, MA 02111-1307, USA.</span> <a name="l00019"></a>00019 <span class="comment"> */</span> <a name="l00020"></a>00020 <a name="l00028"></a>00028 <span class="preprocessor">#ifndef _sybdb_h_</span> <a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define _sybdb_h_</span> <a name="l00030"></a>00030 <span class="preprocessor"></span> <a name="l00031"></a>00031 <span class="preprocessor">#include "tds_sysdep_public.h"</span> <a name="l00032"></a>00032 <a name="l00033"></a>00033 <span class="preprocessor">#undef TDS_STATIC_CAST</span> <a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#ifdef __cplusplus</span> <a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor">#define TDS_STATIC_CAST(type, a) static_cast<type>(a)</span> <a name="l00036"></a>00036 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> <a name="l00037"></a>00037 { <a name="l00038"></a>00038 <span class="preprocessor">#if 0</span> <a name="l00039"></a>00039 <span class="preprocessor"></span>} <a name="l00040"></a>00040 <span class="preprocessor">#endif</span> <a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor">#define TDS_STATIC_CAST(type, a) ((type)(a))</span> <a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00044"></a>00044 <span class="preprocessor"></span> <a name="l00045"></a>00045 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> rcsid_sybdb_h[] = <span class="stringliteral">"$Id: sybdb.h,v 1.100.2.1 2011/06/06 12:31:45 freddy77 Exp $"</span>; <a name="l00046"></a>00046 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">void</span> *<span class="keyword">const</span> no_unused_sybdb_h_warn[] = { rcsid_sybdb_h, no_unused_sybdb_h_warn }; <a name="l00047"></a>00047 <a name="l00048"></a>00048 <span class="preprocessor">#ifdef FALSE</span> <a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor">#undef FALSE</span> <a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#ifdef TRUE</span> <a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#undef TRUE</span> <a name="l00053"></a>00053 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor">#define FALSE 0</span> <a name="l00055"></a>00055 <span class="preprocessor"></span><span class="preprocessor">#define TRUE 1</span> <a name="l00056"></a>00056 <span class="preprocessor"></span> <a name="l00057"></a>00057 <span class="preprocessor">#define DBSAVE 1</span> <a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor">#define DBNOSAVE 0</span> <a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor">#define DBNOERR -1</span> <a name="l00060"></a>00060 <span class="preprocessor"></span> <a name="l00061"></a>00061 <span class="preprocessor">#define INT_EXIT 0</span> <a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor">#define INT_CONTINUE 1</span> <a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#define INT_CANCEL 2</span> <a name="l00064"></a>00064 <span class="preprocessor"></span><span class="preprocessor">#define INT_TIMEOUT 3</span> <a name="l00065"></a>00065 <span class="preprocessor"></span> <a name="l00066"></a>00066 <span class="preprocessor">#define DBMAXNUMLEN 33</span> <a name="l00067"></a>00067 <span class="preprocessor"></span><span class="preprocessor">#define DBMAXNAME 30</span> <a name="l00068"></a>00068 <span class="preprocessor"></span> <a name="l00072"></a><a class="code" href="a00156.html#adbc038c5d57c0ab4c1c9e081a664dc0f">00072</a> <span class="preprocessor">#define DBVERSION_UNKNOWN 0</span> <a name="l00073"></a>00073 <span class="preprocessor"></span><span class="preprocessor">#define DBVERSION_46 1</span> <a name="l00074"></a>00074 <span class="preprocessor"></span><span class="preprocessor">#define DBVERSION_100 2</span> <a name="l00075"></a>00075 <span class="preprocessor"></span><span class="preprocessor">#define DBVERSION_42 3</span> <a name="l00076"></a>00076 <span class="preprocessor"></span><span class="preprocessor">#define DBVERSION_70 4</span> <a name="l00077"></a>00077 <span class="preprocessor"></span><span class="preprocessor">#define DBVERSION_71 5</span> <a name="l00078"></a>00078 <span class="preprocessor"></span><span class="preprocessor">#define DBVERSION_80 DBVERSION_71</span> <a name="l00079"></a>00079 <span class="preprocessor"></span><span class="preprocessor">#define DBVERSION_72 6</span> <a name="l00080"></a>00080 <span class="preprocessor"></span> <a name="l00081"></a>00081 <span class="comment">/* these two are defined by Microsoft for dbsetlversion() */</span> <a name="l00082"></a>00082 <span class="preprocessor">#define DBVER42 DBVERSION_42</span> <a name="l00083"></a>00083 <span class="preprocessor"></span><span class="preprocessor">#define DBVER60 DBVERSION_70 </span><span class="comment">/* our best approximation */</span> <a name="l00084"></a>00084 <a name="l00089"></a><a class="code" href="a00156.html#a4e19c79341755a7c6666197d381e1ac6">00089</a> <span class="preprocessor">#define DBTDS_UNKNOWN 0</span> <a name="l00090"></a>00090 <span class="preprocessor"></span><span class="preprocessor">#define DBTDS_2_0 1 </span><span class="comment">/* pre 4.0 SQL Server */</span> <a name="l00091"></a>00091 <span class="preprocessor">#define DBTDS_3_4 2 </span><span class="comment">/* Microsoft SQL Server (3.0) */</span> <a name="l00092"></a>00092 <span class="preprocessor">#define DBTDS_4_0 3 </span><span class="comment">/* 4.0 SQL Server */</span> <a name="l00093"></a>00093 <span class="preprocessor">#define DBTDS_4_2 4 </span><span class="comment">/* 4.2 SQL Server */</span> <a name="l00094"></a>00094 <span class="preprocessor">#define DBTDS_4_6 5 </span><span class="comment">/* 2.0 OpenServer and 4.6 SQL Server. */</span> <a name="l00095"></a>00095 <span class="preprocessor">#define DBTDS_4_9_5 6 </span><span class="comment">/* 4.9.5 (NCR) SQL Server */</span> <a name="l00096"></a>00096 <span class="preprocessor">#define DBTDS_5_0 7 </span><span class="comment">/* 5.0 SQL Server */</span> <a name="l00097"></a>00097 <span class="preprocessor">#define DBTDS_7_0 8 </span><span class="comment">/* Microsoft SQL Server 7.0 */</span> <a name="l00098"></a>00098 <span class="preprocessor">#define DBTDS_8_0 9 </span><span class="comment">/* Microsoft SQL Server 2000 */</span> <a name="l00099"></a>00099 <span class="preprocessor">#define DBTDS_9_0 10 </span><span class="comment">/* Microsoft SQL Server 2005 */</span> <a name="l00100"></a>00100 <span class="preprocessor">#define DBTDS_7_1 9 </span><span class="comment">/* Microsoft SQL Server 2000 */</span> <a name="l00101"></a>00101 <span class="preprocessor">#define DBTDS_7_2 10 </span><span class="comment">/* Microsoft SQL Server 2005 */</span> <a name="l00102"></a>00102 <a name="l00103"></a>00103 <span class="preprocessor">#define DBTXPLEN 16</span> <a name="l00104"></a>00104 <span class="preprocessor"></span> <a name="l00105"></a>00105 <span class="preprocessor">#define BCPMAXERRS 1</span> <a name="l00106"></a>00106 <span class="preprocessor"></span><span class="preprocessor">#define BCPFIRST 2</span> <a name="l00107"></a>00107 <span class="preprocessor"></span><span class="preprocessor">#define BCPLAST 3</span> <a name="l00108"></a>00108 <span class="preprocessor"></span><span class="preprocessor">#define BCPBATCH 4</span> <a name="l00109"></a>00109 <span class="preprocessor"></span><span class="preprocessor">#define BCPKEEPIDENTITY 8</span> <a name="l00110"></a>00110 <span class="preprocessor"></span> <a name="l00111"></a>00111 <span class="preprocessor">#define BCPLABELED 5</span> <a name="l00112"></a>00112 <span class="preprocessor"></span><span class="preprocessor">#define BCPHINTS 6</span> <a name="l00113"></a>00113 <span class="preprocessor"></span> <a name="l00114"></a>00114 <span class="preprocessor">#define DBCMDNONE 0</span> <a name="l00115"></a>00115 <span class="preprocessor"></span><span class="preprocessor">#define DBCMDPEND 1</span> <a name="l00116"></a>00116 <span class="preprocessor"></span><span class="preprocessor">#define DBCMDSENT 2</span> <a name="l00117"></a>00117 <span class="preprocessor"></span> <a name="l00118"></a>00118 <span class="keyword">typedef</span> <span class="keywordtype">int</span> RETCODE; <a name="l00119"></a>00119 <a name="l00120"></a>00120 <span class="keyword">typedef</span> <span class="keywordtype">void</span> DBCURSOR; <a name="l00121"></a>00121 <span class="keyword">typedef</span> <span class="keywordtype">void</span> DBXLATE; <a name="l00122"></a>00122 <span class="keyword">typedef</span> <span class="keywordtype">void</span> DBSORTORDER; <a name="l00123"></a>00123 <span class="keyword">typedef</span> <span class="keywordtype">void</span> DBLOGINFO; <a name="l00124"></a>00124 <span class="keyword">typedef</span> <span class="keywordtype">void</span> *DBVOIDPTR; <a name="l00125"></a>00125 <span class="keyword">typedef</span> <span class="keywordtype">short</span> SHORT; <a name="l00126"></a>00126 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> USHORT; <a name="l00127"></a>00127 <span class="keyword">typedef</span> int (*INTFUNCPTR) (<span class="keywordtype">void</span> *, ...); <a name="l00128"></a>00128 <span class="keyword">typedef</span> int (*DBWAITFUNC) (void); <a name="l00129"></a>00129 <span class="keyword">typedef</span> DBWAITFUNC(*DB_DBBUSY_FUNC) (<span class="keywordtype">void</span> *dbproc); <a name="l00130"></a>00130 <span class="keyword">typedef</span> void (*DB_DBIDLE_FUNC) (DBWAITFUNC dfunc, <span class="keywordtype">void</span> *dbproc); <a name="l00131"></a>00131 <span class="keyword">typedef</span> int (*DB_DBCHKINTR_FUNC) (<span class="keywordtype">void</span> *dbproc); <a name="l00132"></a>00132 <span class="keyword">typedef</span> int (*DB_DBHNDLINTR_FUNC) (<span class="keywordtype">void</span> *dbproc); <a name="l00133"></a>00133 <a name="l00134"></a>00134 <span class="preprocessor">#ifndef __INCvxWorksh</span> <a name="l00135"></a>00135 <span class="preprocessor"></span><span class="comment">/* VxWorks already defines STATUS and BOOL. Compiler gets mad if you </span> <a name="l00136"></a>00136 <span class="comment">** redefine them. */</span> <a name="l00137"></a>00137 <span class="comment">/* __INCvxWorksh will get #defined by std. include files included from tds.h</span> <a name="l00138"></a>00138 <span class="comment">*/</span> <a name="l00139"></a>00139 <span class="preprocessor">#ifdef STATUS</span> <a name="l00140"></a>00140 <span class="preprocessor"></span><span class="comment">/* On DU4.0d we get a conflicting STATUS definition from arpa/nameser.h</span> <a name="l00141"></a>00141 <span class="comment"> when _REENTRANT is defined.</span> <a name="l00142"></a>00142 <span class="comment">*/</span> <a name="l00143"></a>00143 <span class="preprocessor">#undef STATUS</span> <a name="l00144"></a>00144 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00145"></a>00145 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">int</span> STATUS; <a name="l00146"></a>00146 <span class="preprocessor">#if !defined(_WINDEF_) && !defined(_WINDEF_H) && !defined(DOS32X)</span> <a name="l00147"></a>00147 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">int</span> BOOL; <a name="l00148"></a>00148 <span class="preprocessor">#endif</span> <a name="l00149"></a>00149 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00150"></a>00150 <span class="preprocessor"></span> <a name="l00151"></a>00151 <span class="preprocessor">#if !defined(_FREETDS_LIBRARY_SOURCE) || !defined(_tds_h_)</span> <a name="l00152"></a>00152 <span class="preprocessor"></span><span class="comment">/* copied from tds.h */</span> <a name="l00153"></a>00153 <span class="comment">/* TODO find a best way... */</span> <a name="l00154"></a>00154 <span class="keyword">enum</span> <a name="l00155"></a>00155 { <a name="l00156"></a>00156 SYBCHAR = 47, <span class="comment">/* 0x2F */</span> <a name="l00157"></a>00157 <span class="preprocessor">#define SYBCHAR SYBCHAR</span> <a name="l00158"></a>00158 <span class="preprocessor"></span> SYBVARCHAR = 39, <span class="comment">/* 0x27 */</span> <a name="l00159"></a>00159 <span class="preprocessor">#define SYBVARCHAR SYBVARCHAR</span> <a name="l00160"></a>00160 <span class="preprocessor"></span> SYBINTN = 38, <span class="comment">/* 0x26 */</span> <a name="l00161"></a>00161 <span class="preprocessor">#define SYBINTN SYBINTN</span> <a name="l00162"></a>00162 <span class="preprocessor"></span> SYBINT1 = 48, <span class="comment">/* 0x30 */</span> <a name="l00163"></a>00163 <span class="preprocessor">#define SYBINT1 SYBINT1</span> <a name="l00164"></a>00164 <span class="preprocessor"></span> SYBINT2 = 52, <span class="comment">/* 0x34 */</span> <a name="l00165"></a>00165 <span class="preprocessor">#define SYBINT2 SYBINT2</span> <a name="l00166"></a>00166 <span class="preprocessor"></span> SYBINT4 = 56, <span class="comment">/* 0x38 */</span> <a name="l00167"></a>00167 <span class="preprocessor">#define SYBINT4 SYBINT4</span> <a name="l00168"></a>00168 <span class="preprocessor"></span> SYBINT8 = 127, <span class="comment">/* 0x7F */</span> <a name="l00169"></a>00169 <span class="preprocessor">#define SYBINT8 SYBINT8</span> <a name="l00170"></a>00170 <span class="preprocessor"></span> SYBFLT8 = 62, <span class="comment">/* 0x3E */</span> <a name="l00171"></a>00171 <span class="preprocessor">#define SYBFLT8 SYBFLT8</span> <a name="l00172"></a>00172 <span class="preprocessor"></span> SYBDATETIME = 61, <span class="comment">/* 0x3D */</span> <a name="l00173"></a>00173 <span class="preprocessor">#define SYBDATETIME SYBDATETIME</span> <a name="l00174"></a>00174 <span class="preprocessor"></span> SYBBIT = 50, <span class="comment">/* 0x32 */</span> <a name="l00175"></a>00175 <span class="preprocessor">#define SYBBIT SYBBIT</span> <a name="l00176"></a>00176 <span class="preprocessor"></span> SYBBITN = 104, <span class="comment">/* 0x68 */</span> <a name="l00177"></a>00177 <span class="preprocessor">#define SYBBITN SYBBITN</span> <a name="l00178"></a>00178 <span class="preprocessor"></span> SYBTEXT = 35, <span class="comment">/* 0x23 */</span> <a name="l00179"></a>00179 <span class="preprocessor">#define SYBTEXT SYBTEXT</span> <a name="l00180"></a>00180 <span class="preprocessor"></span> SYBNTEXT = 99, <span class="comment">/* 0x63 */</span> <a name="l00181"></a>00181 <span class="preprocessor">#define SYBNTEXT SYBNTEXT</span> <a name="l00182"></a>00182 <span class="preprocessor"></span> SYBIMAGE = 34, <span class="comment">/* 0x22 */</span> <a name="l00183"></a>00183 <span class="preprocessor">#define SYBIMAGE SYBIMAGE</span> <a name="l00184"></a>00184 <span class="preprocessor"></span> SYBMONEY4 = 122, <span class="comment">/* 0x7A */</span> <a name="l00185"></a>00185 <span class="preprocessor">#define SYBMONEY4 SYBMONEY4</span> <a name="l00186"></a>00186 <span class="preprocessor"></span> SYBMONEY = 60, <span class="comment">/* 0x3C */</span> <a name="l00187"></a>00187 <span class="preprocessor">#define SYBMONEY SYBMONEY</span> <a name="l00188"></a>00188 <span class="preprocessor"></span> SYBDATETIME4 = 58, <span class="comment">/* 0x3A */</span> <a name="l00189"></a>00189 <span class="preprocessor">#define SYBDATETIME4 SYBDATETIME4</span> <a name="l00190"></a>00190 <span class="preprocessor"></span> SYBREAL = 59, <span class="comment">/* 0x3B */</span> <a name="l00191"></a>00191 <span class="preprocessor">#define SYBREAL SYBREAL</span> <a name="l00192"></a>00192 <span class="preprocessor"></span> SYBBINARY = 45, <span class="comment">/* 0x2D */</span> <a name="l00193"></a>00193 <span class="preprocessor">#define SYBBINARY SYBBINARY</span> <a name="l00194"></a>00194 <span class="preprocessor"></span> SYBVOID = 31, <span class="comment">/* 0x1F */</span> <a name="l00195"></a>00195 <span class="preprocessor">#define SYBVOID SYBVOID</span> <a name="l00196"></a>00196 <span class="preprocessor"></span> SYBVARBINARY = 37, <span class="comment">/* 0x25 */</span> <a name="l00197"></a>00197 <span class="preprocessor">#define SYBVARBINARY SYBVARBINARY</span> <a name="l00198"></a>00198 <span class="preprocessor"></span> SYBNUMERIC = 108, <span class="comment">/* 0x6C */</span> <a name="l00199"></a>00199 <span class="preprocessor">#define SYBNUMERIC SYBNUMERIC</span> <a name="l00200"></a>00200 <span class="preprocessor"></span> SYBDECIMAL = 106, <span class="comment">/* 0x6A */</span> <a name="l00201"></a>00201 <span class="preprocessor">#define SYBDECIMAL SYBDECIMAL</span> <a name="l00202"></a>00202 <span class="preprocessor"></span> SYBFLTN = 109, <span class="comment">/* 0x6D */</span> <a name="l00203"></a>00203 <span class="preprocessor">#define SYBFLTN SYBFLTN</span> <a name="l00204"></a>00204 <span class="preprocessor"></span> SYBMONEYN = 110, <span class="comment">/* 0x6E */</span> <a name="l00205"></a>00205 <span class="preprocessor">#define SYBMONEYN SYBMONEYN</span> <a name="l00206"></a>00206 <span class="preprocessor"></span> SYBDATETIMN = 111, <span class="comment">/* 0x6F */</span> <a name="l00207"></a>00207 <span class="preprocessor">#define SYBDATETIMN SYBDATETIMN</span> <a name="l00208"></a>00208 <span class="preprocessor"></span> SYBNVARCHAR = 103 <span class="comment">/* 0x67 */</span> <a name="l00209"></a>00209 <span class="preprocessor">#define SYBNVARCHAR SYBNVARCHAR</span> <a name="l00210"></a>00210 <span class="preprocessor"></span>}; <a name="l00211"></a>00211 <a name="l00212"></a>00212 <span class="preprocessor">#define SYBAOPCNT 0x4b</span> <a name="l00213"></a>00213 <span class="preprocessor"></span><span class="preprocessor">#define SYBAOPCNTU 0x4c</span> <a name="l00214"></a>00214 <span class="preprocessor"></span><span class="preprocessor">#define SYBAOPSUM 0x4d</span> <a name="l00215"></a>00215 <span class="preprocessor"></span><span class="preprocessor">#define SYBAOPSUMU 0x4e</span> <a name="l00216"></a>00216 <span class="preprocessor"></span><span class="preprocessor">#define SYBAOPAVG 0x4f</span> <a name="l00217"></a>00217 <span class="preprocessor"></span><span class="preprocessor">#define SYBAOPAVGU 0x50</span> <a name="l00218"></a>00218 <span class="preprocessor"></span><span class="preprocessor">#define SYBAOPMIN 0x51</span> <a name="l00219"></a>00219 <span class="preprocessor"></span><span class="preprocessor">#define SYBAOPMAX 0x52</span> <a name="l00220"></a>00220 <span class="preprocessor"></span> <a name="l00221"></a>00221 <span class="comment">/* mssql2k compute operator */</span> <a name="l00222"></a>00222 <span class="preprocessor">#define SYBAOPCNT_BIG 0x09</span> <a name="l00223"></a>00223 <span class="preprocessor"></span><span class="preprocessor">#define SYBAOPSTDEV 0x30</span> <a name="l00224"></a>00224 <span class="preprocessor"></span><span class="preprocessor">#define SYBAOPSTDEVP 0x31</span> <a name="l00225"></a>00225 <span class="preprocessor"></span><span class="preprocessor">#define SYBAOPVAR 0x32</span> <a name="l00226"></a>00226 <span class="preprocessor"></span><span class="preprocessor">#define SYBAOPVARP 0x33</span> <a name="l00227"></a>00227 <span class="preprocessor"></span><span class="preprocessor">#define SYBAOPCHECKSUM_AGG 0x72</span> <a name="l00228"></a>00228 <span class="preprocessor"></span> <a name="l00229"></a>00229 <span class="preprocessor">#endif</span> <a name="l00230"></a>00230 <span class="preprocessor"></span> <a name="l00231"></a>00231 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> DBBOOL; <a name="l00232"></a>00232 <span class="keyword">typedef</span> <span class="keywordtype">char</span> DBCHAR; <a name="l00233"></a>00233 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> DBBIT; <a name="l00234"></a>00234 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> DBTINYINT; <a name="l00235"></a>00235 <span class="keyword">typedef</span> tds_sysdep_int16_type DBSMALLINT; <a name="l00236"></a>00236 <span class="keyword">typedef</span> tds_sysdep_int32_type DBINT; <a name="l00237"></a>00237 <span class="keyword">typedef</span> tds_sysdep_int64_type DBBIGINT; <a name="l00238"></a>00238 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> DBBINARY; <a name="l00239"></a>00239 <span class="keyword">typedef</span> tds_sysdep_real32_type DBREAL; <a name="l00240"></a>00240 <span class="keyword">typedef</span> tds_sysdep_real64_type DBFLT8; <a name="l00241"></a>00241 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> tds_sysdep_int16_type DBUSMALLINT; <a name="l00242"></a>00242 <a name="l00243"></a><a class="code" href="a00066.html">00243</a> <span class="keyword">typedef</span> <span class="keyword">struct </span> <a name="l00244"></a>00244 { <a name="l00245"></a>00245 DBSMALLINT len; <a name="l00246"></a>00246 <span class="keywordtype">char</span> str[256]; <a name="l00247"></a>00247 } <a class="code" href="a00066.html">DBVARYCHAR</a>; <a name="l00248"></a>00248 <a name="l00249"></a><a class="code" href="a00065.html">00249</a> <span class="keyword">typedef</span> <span class="keyword">struct</span> <a name="l00250"></a>00250 { <a name="l00251"></a>00251 DBSMALLINT len; <a name="l00252"></a>00252 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> array[256]; <a name="l00253"></a>00253 } <a class="code" href="a00065.html">DBVARYBIN</a>; <a name="l00254"></a>00254 <a name="l00255"></a><a class="code" href="a00061.html">00255</a> <span class="keyword">typedef</span> <span class="keyword">struct</span> <a name="l00256"></a>00256 { <a name="l00257"></a>00257 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> precision; <a name="l00258"></a>00258 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> scale; <a name="l00259"></a>00259 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> array[33]; <a name="l00260"></a>00260 } <a class="code" href="a00061.html">DBNUMERIC</a>; <a name="l00261"></a>00261 <a name="l00262"></a>00262 <span class="keyword">typedef</span> <a class="code" href="a00061.html">DBNUMERIC</a> <a class="code" href="a00061.html">DBDECIMAL</a>; <a name="l00263"></a>00263 <a name="l00264"></a><a class="code" href="a00059.html">00264</a> <span class="keyword">typedef</span> <span class="keyword">struct</span> <a name="l00265"></a>00265 { <a name="l00266"></a>00266 DBINT mnyhigh; <a name="l00267"></a>00267 <span class="keywordtype">unsigned</span> tds_sysdep_int32_type mnylow; <a name="l00268"></a>00268 } <a class="code" href="a00059.html">DBMONEY</a>; <a name="l00269"></a>00269 <a name="l00270"></a><a class="code" href="a00060.html">00270</a> <span class="keyword">typedef</span> <span class="keyword">struct</span> <a name="l00271"></a>00271 { <a name="l00272"></a>00272 DBINT mny4; <a name="l00273"></a>00273 } <a class="code" href="a00060.html">DBMONEY4</a>; <a name="l00274"></a>00274 <a name="l00275"></a><a class="code" href="a00055.html">00275</a> <span class="keyword">typedef</span> <span class="keyword">struct</span> <a name="l00276"></a>00276 { <a name="l00277"></a>00277 DBINT dtdays; <a name="l00278"></a>00278 DBINT dttime; <a name="l00279"></a>00279 } <a class="code" href="a00055.html">DBDATETIME</a>; <a name="l00280"></a>00280 <a name="l00281"></a><a class="code" href="a00056.html">00281</a> <span class="keyword">typedef</span> <span class="keyword">struct</span> <a name="l00282"></a>00282 { <a name="l00283"></a>00283 DBUSMALLINT days; <span class="comment">// days since Jan-1-1900</span> <a name="l00284"></a>00284 DBUSMALLINT minutes; <span class="comment">// minutes since midnight</span> <a name="l00285"></a>00285 } <a class="code" href="a00056.html">DBDATETIME4</a>; <a name="l00286"></a>00286 <a name="l00287"></a>00287 <span class="preprocessor">#ifdef MSDBLIB</span> <a name="l00288"></a>00288 <span class="preprocessor"></span><span class="preprocessor"># define SQLCHAR SYBCHAR</span> <a name="l00289"></a>00289 <span class="preprocessor"></span> <span class="keyword">typedef</span> <span class="keyword">struct</span> <a name="l00290"></a>00290 { <a name="l00291"></a>00291 DBUSMALLINT numdays; <a name="l00292"></a>00292 DBUSMALLINT nummins; <a name="l00293"></a>00293 } DBDATETIM4; <a name="l00294"></a>00294 <span class="preprocessor">#endif</span> <a name="l00295"></a>00295 <span class="preprocessor"></span> <a name="l00296"></a>00296 <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="a00099.html">tds_dblib_loginrec</a> <a class="code" href="a00070.html">LOGINREC</a>; <a name="l00297"></a>00297 <a name="l00298"></a>00298 <span class="preprocessor">#ifndef DOS32X</span> <a name="l00299"></a>00299 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> BYTE; <a name="l00300"></a>00300 <span class="preprocessor">#endif</span> <a name="l00301"></a>00301 <span class="preprocessor"></span> <a name="l00302"></a><a class="code" href="a00064.html">00302</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="a00064.html">dbtypeinfo</a> <a name="l00303"></a>00303 { <a name="l00304"></a>00304 DBINT precision; <a name="l00305"></a>00305 DBINT scale; <a name="l00306"></a>00306 } <a class="code" href="a00064.html">DBTYPEINFO</a>; <a name="l00307"></a>00307 <a name="l00308"></a><a class="code" href="a00063.html">00308</a> <span class="keyword">struct </span><a class="code" href="a00063.html">dbstring</a> <a name="l00309"></a>00309 { <a name="l00310"></a>00310 BYTE *strtext; <a name="l00311"></a>00311 DBINT strtotlen; <a name="l00312"></a>00312 <span class="keyword">struct </span><a class="code" href="a00063.html">dbstring</a> *strnext; <a name="l00313"></a>00313 }; <a name="l00314"></a>00314 <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="a00063.html">dbstring</a> <a class="code" href="a00063.html">DBSTRING</a>; <a name="l00315"></a>00315 <a name="l00316"></a>00316 <span class="comment">/* Used by dbcolinfo */</span> <a name="l00317"></a>00317 <span class="keyword">enum</span> <a name="l00318"></a>00318 { MAXCOLNAMELEN = 512 }; <span class="comment">/* duplicates TDS_SYSNAME_SIZE */</span> <a name="l00319"></a>00319 <span class="keyword">typedef</span> <span class="keyword">enum</span> { CI_REGULAR=1, CI_ALTERNATE=2, CI_CURSOR=3 } CI_TYPE; <a name="l00320"></a>00320 <a name="l00321"></a><a class="code" href="a00054.html">00321</a> <span class="keyword">typedef</span> <span class="keyword">struct </span> <a name="l00322"></a>00322 { <a name="l00323"></a>00323 DBINT SizeOfStruct; <a name="l00324"></a>00324 DBCHAR Name[MAXCOLNAMELEN+2]; <a name="l00325"></a>00325 DBCHAR ActualName[MAXCOLNAMELEN+2]; <a name="l00326"></a>00326 DBCHAR TableName[MAXCOLNAMELEN+2]; <a name="l00327"></a>00327 SHORT Type; <a name="l00328"></a>00328 DBINT UserType; <a name="l00329"></a>00329 DBINT MaxLength; <a name="l00330"></a>00330 BYTE Precision; <a name="l00331"></a>00331 BYTE Scale; <a name="l00332"></a>00332 BOOL VarLength; <a name="l00333"></a>00333 BYTE Null; <a name="l00334"></a>00334 BYTE CaseSensitive; <a name="l00335"></a>00335 BYTE Updatable; <a name="l00336"></a>00336 BOOL Identity; <a name="l00337"></a>00337 <a name="l00338"></a>00338 } <a class="code" href="a00054.html">DBCOL</a>; <a name="l00339"></a>00339 <span class="comment">/* end dbcolinfo stuff */</span> <a name="l00340"></a>00340 <a name="l00341"></a>00341 <a name="l00342"></a>00342 <a name="l00343"></a>00343 <span class="comment">/* a large list of options, DBTEXTSIZE is needed by sybtcl */</span> <a name="l00344"></a>00344 <span class="preprocessor">#define DBPARSEONLY 0</span> <a name="l00345"></a>00345 <span class="preprocessor"></span><span class="preprocessor">#define DBESTIMATE 1</span> <a name="l00346"></a>00346 <span class="preprocessor"></span><span class="preprocessor">#define DBSHOWPLAN 2</span> <a name="l00347"></a>00347 <span class="preprocessor"></span><span class="preprocessor">#define DBNOEXEC 3</span> <a name="l00348"></a>00348 <span class="preprocessor"></span><span class="preprocessor">#define DBARITHIGNORE 4</span> <a name="l00349"></a>00349 <span class="preprocessor"></span><span class="preprocessor">#define DBNOCOUNT 5</span> <a name="l00350"></a>00350 <span class="preprocessor"></span><span class="preprocessor">#define DBARITHABORT 6</span> <a name="l00351"></a>00351 <span class="preprocessor"></span><span class="preprocessor">#define DBTEXTLIMIT 7</span> <a name="l00352"></a>00352 <span class="preprocessor"></span><span class="preprocessor">#define DBBROWSE 8</span> <a name="l00353"></a>00353 <span class="preprocessor"></span><span class="preprocessor">#define DBOFFSET 9</span> <a name="l00354"></a>00354 <span class="preprocessor"></span><span class="preprocessor">#define DBSTAT 10</span> <a name="l00355"></a>00355 <span class="preprocessor"></span><span class="preprocessor">#define DBERRLVL 11</span> <a name="l00356"></a>00356 <span class="preprocessor"></span><span class="preprocessor">#define DBCONFIRM 12</span> <a name="l00357"></a>00357 <span class="preprocessor"></span><span class="preprocessor">#define DBSTORPROCID 13</span> <a name="l00358"></a>00358 <span class="preprocessor"></span><span class="preprocessor">#define DBBUFFER 14</span> <a name="l00359"></a>00359 <span class="preprocessor"></span><span class="preprocessor">#define DBNOAUTOFREE 15</span> <a name="l00360"></a>00360 <span class="preprocessor"></span><span class="preprocessor">#define DBROWCOUNT 16</span> <a name="l00361"></a>00361 <span class="preprocessor"></span><span class="preprocessor">#define DBTEXTSIZE 17</span> <a name="l00362"></a>00362 <span class="preprocessor"></span><span class="preprocessor">#define DBNATLANG 18</span> <a name="l00363"></a>00363 <span class="preprocessor"></span><span class="preprocessor">#define DBDATEFORMAT 19</span> <a name="l00364"></a>00364 <span class="preprocessor"></span><span class="preprocessor">#define DBPRPAD 20</span> <a name="l00365"></a>00365 <span class="preprocessor"></span><span class="preprocessor">#define DBPRCOLSEP 21</span> <a name="l00366"></a>00366 <span class="preprocessor"></span><span class="preprocessor">#define DBPRLINELEN 22</span> <a name="l00367"></a>00367 <span class="preprocessor"></span><span class="preprocessor">#define DBPRLINESEP 23</span> <a name="l00368"></a>00368 <span class="preprocessor"></span><span class="preprocessor">#define DBLFCONVERT 24</span> <a name="l00369"></a>00369 <span class="preprocessor"></span><span class="preprocessor">#define DBDATEFIRST 25</span> <a name="l00370"></a>00370 <span class="preprocessor"></span><span class="preprocessor">#define DBCHAINXACTS 26</span> <a name="l00371"></a>00371 <span class="preprocessor"></span><span class="preprocessor">#define DBFIPSFLAG 27</span> <a name="l00372"></a>00372 <span class="preprocessor"></span><span class="preprocessor">#define DBISOLATION 28</span> <a name="l00373"></a>00373 <span class="preprocessor"></span><span class="preprocessor">#define DBAUTH 29</span> <a name="l00374"></a>00374 <span class="preprocessor"></span><span class="preprocessor">#define DBIDENTITY 30</span> <a name="l00375"></a>00375 <span class="preprocessor"></span><span class="preprocessor">#define DBNOIDCOL 31</span> <a name="l00376"></a>00376 <span class="preprocessor"></span><span class="preprocessor">#define DBDATESHORT 32</span> <a name="l00377"></a>00377 <span class="preprocessor"></span><span class="preprocessor">#define DBCLIENTCURSORS 33</span> <a name="l00378"></a>00378 <span class="preprocessor"></span><span class="preprocessor">#define DBSETTIME 34</span> <a name="l00379"></a>00379 <span class="preprocessor"></span><span class="preprocessor">#define DBQUOTEDIDENT 35</span> <a name="l00380"></a>00380 <span class="preprocessor"></span> <a name="l00381"></a>00381 <span class="preprocessor">#define DBNUMOPTIONS 36</span> <a name="l00382"></a>00382 <span class="preprocessor"></span> <a name="l00383"></a>00383 <span class="preprocessor">#define DBPADOFF 0</span> <a name="l00384"></a>00384 <span class="preprocessor"></span><span class="preprocessor">#define DBPADON 1</span> <a name="l00385"></a>00385 <span class="preprocessor"></span> <a name="l00386"></a>00386 <span class="preprocessor">#define OFF 0</span> <a name="l00387"></a>00387 <span class="preprocessor"></span><span class="preprocessor">#define ON 1</span> <a name="l00388"></a>00388 <span class="preprocessor"></span> <a name="l00389"></a>00389 <span class="preprocessor">#define NOSUCHOPTION 2</span> <a name="l00390"></a>00390 <span class="preprocessor"></span> <a name="l00391"></a>00391 <span class="preprocessor">#define MAXOPTTEXT 32</span> <a name="l00392"></a>00392 <span class="preprocessor"></span> <a name="l00393"></a>00393 <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="a00098.html">tds_dblib_dbprocess</a> <a class="code" href="a00098.html">DBPROCESS</a>; <a name="l00394"></a>00394 <a name="l00395"></a>00395 <span class="comment">/*</span> <a name="l00396"></a>00396 <span class="comment"> * Sybase & Microsoft use different names for the dbdaterec members. </span> <a name="l00397"></a>00397 <span class="comment"> * Keep these two structures physically identical in memory. </span> <a name="l00398"></a>00398 <span class="comment"> * dbdatecrack() casts one to the other for ease of implementation. </span> <a name="l00399"></a>00399 <span class="comment"> *</span> <a name="l00400"></a>00400 <span class="comment"> * Giving credit where credit is due, we can acknowledge that</span> <a name="l00401"></a>00401 <span class="comment"> * Microsoft chose the better names here, hands down. ("datedmonth"?!)</span> <a name="l00402"></a>00402 <span class="comment"> */</span> <a name="l00403"></a><a class="code" href="a00109.html">00403</a> <span class="keyword">struct </span><a class="code" href="a00109.html">tds_microsoft_dbdaterec</a> <a name="l00404"></a>00404 { <a name="l00405"></a>00405 DBINT year; <span class="comment">/* 1753 - 9999 */</span> <a name="l00406"></a>00406 DBINT quarter; <span class="comment">/* 1 - 4 */</span> <a name="l00407"></a>00407 DBINT month; <span class="comment">/* 1 - 12 */</span> <a name="l00408"></a>00408 DBINT day; <span class="comment">/* 1 - 31 */</span> <a name="l00409"></a>00409 DBINT dayofyear; <span class="comment">/* 1 - 366 */</span> <a name="l00410"></a>00410 DBINT week; <span class="comment">/* 1 - 54 (for leap years) */</span> <a name="l00411"></a>00411 DBINT weekday; <span class="comment">/* 1 - 7 (Mon. - Sun.) */</span> <a name="l00412"></a>00412 DBINT hour; <span class="comment">/* 0 - 23 */</span> <a name="l00413"></a>00413 DBINT minute; <span class="comment">/* 0 - 59 */</span> <a name="l00414"></a>00414 DBINT second; <span class="comment">/* 0 - 59 */</span> <a name="l00415"></a>00415 DBINT millisecond; <span class="comment">/* 0 - 999 */</span> <a name="l00416"></a>00416 DBINT tzone; <span class="comment">/* 0 - 127 (Sybase only) */</span> <a name="l00417"></a>00417 }; <a name="l00418"></a>00418 <a name="l00419"></a><a class="code" href="a00123.html">00419</a> <span class="keyword">struct </span><a class="code" href="a00123.html">tds_sybase_dbdaterec</a> <a name="l00420"></a>00420 { <a name="l00421"></a>00421 DBINT dateyear; <span class="comment">/* 1900 and counting */</span> <a name="l00422"></a>00422 DBINT quarter; <span class="comment">/* 0 - 3 (Microsoft only) */</span> <a name="l00423"></a>00423 DBINT datemonth; <span class="comment">/* 0 - 11 */</span> <a name="l00424"></a>00424 DBINT datedmonth; <span class="comment">/* 1 - 31 */</span> <a name="l00425"></a>00425 DBINT datedyear; <span class="comment">/* 1 - 366 */</span> <a name="l00426"></a>00426 DBINT week; <span class="comment">/* 1 - 54 (Microsoft only) */</span> <a name="l00427"></a>00427 DBINT datedweek; <span class="comment">/* 0 - 6 */</span> <a name="l00428"></a>00428 DBINT datehour; <span class="comment">/* 0 - 23 */</span> <a name="l00429"></a>00429 DBINT dateminute; <span class="comment">/* 0 - 59 */</span> <a name="l00430"></a>00430 DBINT datesecond; <span class="comment">/* 0 - 59 */</span> <a name="l00431"></a>00431 DBINT datemsecond; <span class="comment">/* 0 - 997 */</span> <a name="l00432"></a>00432 DBINT datetzone; <span class="comment">/* 0 - 127 */</span> <a name="l00433"></a>00433 }; <a name="l00434"></a>00434 <a name="l00435"></a>00435 <span class="preprocessor">#ifdef MSDBLIB</span> <a name="l00436"></a>00436 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="a00109.html">tds_microsoft_dbdaterec</a> <a class="code" href="a00123.html">DBDATEREC</a>; <a name="l00437"></a>00437 <span class="preprocessor">#else</span> <a name="l00438"></a>00438 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="a00123.html">tds_sybase_dbdaterec</a> <a class="code" href="a00123.html">DBDATEREC</a>; <a name="l00439"></a>00439 <span class="preprocessor">#endif</span> <a name="l00440"></a>00440 <span class="preprocessor"></span> <a name="l00441"></a>00441 <span class="keyword">typedef</span> int (*EHANDLEFUNC) (<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> severity, <span class="keywordtype">int</span> dberr, <span class="keywordtype">int</span> oserr, <span class="keywordtype">char</span> *dberrstr, <span class="keywordtype">char</span> *oserrstr); <a name="l00442"></a>00442 <a name="l00443"></a>00443 <span class="keyword">typedef</span> int (*MHANDLEFUNC) (<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, DBINT msgno, <span class="keywordtype">int</span> msgstate, <span class="keywordtype">int</span> severity, <span class="keywordtype">char</span> *msgtext, <span class="keywordtype">char</span> *srvname, <a name="l00444"></a>00444 <span class="keywordtype">char</span> *proc, <span class="keywordtype">int</span> line); <a name="l00445"></a>00445 <a name="l00446"></a>00446 <span class="comment">/* dbpoll() result codes, sybtcl needs DBRESULT */</span> <a name="l00447"></a>00447 <span class="preprocessor">#define DBRESULT 1</span> <a name="l00448"></a>00448 <span class="preprocessor"></span><span class="preprocessor">#define DBNOTIFICATION 2</span> <a name="l00449"></a>00449 <span class="preprocessor"></span><span class="preprocessor">#define DBTIMEOUT 3</span> <a name="l00450"></a>00450 <span class="preprocessor"></span><span class="preprocessor">#define DBINTERRUPT 4</span> <a name="l00451"></a>00451 <span class="preprocessor"></span> <a name="l00452"></a>00452 <span class="comment">/* more sybtcl needs: */</span> <a name="l00453"></a>00453 <span class="preprocessor">#define DBTXTSLEN 8</span> <a name="l00454"></a>00454 <span class="preprocessor"></span> <a name="l00455"></a>00455 <span class="comment">/* bind types */</span> <a name="l00456"></a>00456 <span class="preprocessor">#define CHARBIND 0</span> <a name="l00457"></a>00457 <span class="preprocessor"></span><span class="preprocessor">#define STRINGBIND 1</span> <a name="l00458"></a>00458 <span class="preprocessor"></span><span class="preprocessor">#define NTBSTRINGBIND 2</span> <a name="l00459"></a>00459 <span class="preprocessor"></span><span class="preprocessor">#define VARYCHARBIND 3</span> <a name="l00460"></a>00460 <span class="preprocessor"></span><span class="preprocessor">#define VARYBINBIND 4</span> <a name="l00461"></a>00461 <span class="preprocessor"></span><span class="preprocessor">#define TINYBIND 6</span> <a name="l00462"></a>00462 <span class="preprocessor"></span><span class="preprocessor">#define SMALLBIND 7</span> <a name="l00463"></a>00463 <span class="preprocessor"></span><span class="preprocessor">#define INTBIND 8</span> <a name="l00464"></a>00464 <span class="preprocessor"></span><span class="preprocessor">#define FLT8BIND 9</span> <a name="l00465"></a>00465 <span class="preprocessor"></span><span class="preprocessor">#define REALBIND 10</span> <a name="l00466"></a>00466 <span class="preprocessor"></span><span class="preprocessor">#define DATETIMEBIND 11</span> <a name="l00467"></a>00467 <span class="preprocessor"></span><span class="preprocessor">#define SMALLDATETIMEBIND 12</span> <a name="l00468"></a>00468 <span class="preprocessor"></span><span class="preprocessor">#define MONEYBIND 13</span> <a name="l00469"></a>00469 <span class="preprocessor"></span><span class="preprocessor">#define SMALLMONEYBIND 14</span> <a name="l00470"></a>00470 <span class="preprocessor"></span><span class="preprocessor">#define BINARYBIND 15</span> <a name="l00471"></a>00471 <span class="preprocessor"></span><span class="preprocessor">#define BITBIND 16</span> <a name="l00472"></a>00472 <span class="preprocessor"></span><span class="preprocessor">#define NUMERICBIND 17</span> <a name="l00473"></a>00473 <span class="preprocessor"></span><span class="preprocessor">#define DECIMALBIND 18</span> <a name="l00474"></a>00474 <span class="preprocessor"></span><span class="preprocessor">#define BIGINTBIND 30</span> <a name="l00475"></a>00475 <span class="preprocessor"></span><span class="preprocessor">#define MAXBINDTYPES 31 </span><span class="comment">/* keep last */</span> <a name="l00476"></a>00476 <a name="l00477"></a>00477 <span class="preprocessor">#define DBPRCOLSEP 21</span> <a name="l00478"></a>00478 <span class="preprocessor"></span><span class="preprocessor">#define DBPRLINELEN 22</span> <a name="l00479"></a>00479 <span class="preprocessor"></span><span class="preprocessor">#define DBRPCRETURN 1</span> <a name="l00480"></a>00480 <span class="preprocessor"></span><span class="preprocessor">#define DBRPCDEFAULT 2</span> <a name="l00481"></a>00481 <span class="preprocessor"></span> <a name="l00482"></a>00482 <span class="preprocessor">#define REG_ROW -1</span> <a name="l00483"></a>00483 <span class="preprocessor"></span><span class="preprocessor">#define MORE_ROWS -1</span> <a name="l00484"></a>00484 <span class="preprocessor"></span><span class="preprocessor">#define NO_MORE_ROWS -2</span> <a name="l00485"></a>00485 <span class="preprocessor"></span><span class="preprocessor">#define BUF_FULL -3</span> <a name="l00486"></a>00486 <span class="preprocessor"></span><span class="preprocessor">#define NO_MORE_RESULTS 2</span> <a name="l00487"></a>00487 <span class="preprocessor"></span><span class="preprocessor">#define SUCCEED 1</span> <a name="l00488"></a>00488 <span class="preprocessor"></span><span class="preprocessor">#define FAIL 0</span> <a name="l00489"></a>00489 <span class="preprocessor"></span> <a name="l00490"></a>00490 <span class="preprocessor">#define DB_IN 1</span> <a name="l00491"></a>00491 <span class="preprocessor"></span><span class="preprocessor">#define DB_OUT 2</span> <a name="l00492"></a>00492 <span class="preprocessor"></span><span class="preprocessor">#define DB_QUERYOUT 3</span> <a name="l00493"></a>00493 <span class="preprocessor"></span> <a name="l00494"></a>00494 <span class="preprocessor">#define DBSINGLE 0</span> <a name="l00495"></a>00495 <span class="preprocessor"></span><span class="preprocessor">#define DBDOUBLE 1</span> <a name="l00496"></a>00496 <span class="preprocessor"></span><span class="preprocessor">#define DBBOTH 2</span> <a name="l00497"></a>00497 <span class="preprocessor"></span> <a name="l00498"></a>00498 <span class="comment">/* remote procedure call (rpc) options */</span> <a name="l00499"></a>00499 <span class="preprocessor">#define DBRPCRECOMPILE TDS_STATIC_CAST(DBSMALLINT, 0x0001)</span> <a name="l00500"></a>00500 <span class="preprocessor"></span><span class="preprocessor">#define DBRPCRESET TDS_STATIC_CAST(DBSMALLINT, 0x0002)</span> <a name="l00501"></a>00501 <span class="preprocessor"></span><span class="preprocessor">#define DBRPCCURSOR TDS_STATIC_CAST(DBSMALLINT, 0x0008)</span> <a name="l00502"></a>00502 <span class="preprocessor"></span> <a name="l00503"></a>00503 <span class="preprocessor">#if defined(DBLIB_UNIMPLEMENTED)</span> <a name="l00504"></a>00504 <span class="preprocessor"></span>DBBOOL db12hour(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keyword">const</span> <span class="keywordtype">char</span> language[]); <a name="l00505"></a>00505 <a name="l00506"></a>00506 DBBOOL dbcolbrowse(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> colnum); <a name="l00507"></a>00507 <a name="l00508"></a>00508 RETCODE dbcursor(DBCURSOR * hc, DBINT optype, DBINT bufno, BYTE * table, BYTE * values); <a name="l00509"></a>00509 RETCODE dbcursorbind(DBCURSOR * hc, <span class="keywordtype">int</span> col, <span class="keywordtype">int</span> vartype, DBINT varlen, DBINT * poutlen, BYTE * pvaraddr, <a class="code" href="a00064.html">DBTYPEINFO</a> * typeinfo); <a name="l00510"></a>00510 <span class="keywordtype">void</span> dbcursorclose(DBCURSOR * hc); <a name="l00511"></a>00511 RETCODE dbcursorcolinfo(DBCURSOR * hc, DBINT column, DBCHAR * colname, DBINT * coltype, DBINT * collen, DBINT * usertype); <a name="l00512"></a>00512 RETCODE dbcursorfetch(DBCURSOR * hc, DBINT fetchtype, DBINT rownum); <a name="l00513"></a>00513 RETCODE dbcursorinfo(DBCURSOR * hc, DBINT * ncols, DBINT * nrows); <a name="l00514"></a>00514 DBCURSOR *dbcursoropen(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, BYTE * stmt, SHORT scollopt, SHORT concuropt, USHORT nrows, DBINT * pstatus); <a name="l00515"></a>00515 <a name="l00516"></a>00516 <span class="keywordtype">int</span> dbdate4cmp(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <a class="code" href="a00056.html">DBDATETIME4</a> * d1, <a class="code" href="a00056.html">DBDATETIME4</a> * d2); <a name="l00517"></a>00517 RETCODE dbdate4zero(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <a class="code" href="a00056.html">DBDATETIME4</a> * d1); <a name="l00518"></a>00518 RETCODE dbdatechar(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">char</span> *buf, <span class="keywordtype">int</span> datepart, <span class="keywordtype">int</span> value); <a name="l00519"></a>00519 <span class="keywordtype">int</span> dbdatename(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">char</span> *buf, <span class="keywordtype">int</span> date, <a class="code" href="a00055.html">DBDATETIME</a> * datetime); <a name="l00520"></a>00520 <span class="keywordtype">char</span> *dateorder(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">char</span> *language); <a name="l00521"></a>00521 DBINT dbdatepart(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> datepart, <a class="code" href="a00055.html">DBDATETIME</a> * datetime); <a name="l00522"></a>00522 RETCODE dbdatezero(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <a class="code" href="a00055.html">DBDATETIME</a> * d1); <a name="l00523"></a>00523 <span class="keywordtype">char</span> *dbdayname(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">char</span> *language, <span class="keywordtype">int</span> daynum); <a name="l00524"></a>00524 <a name="l00525"></a>00525 <span class="keywordtype">int</span> dbgetoff(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DBUSMALLINT offtype, <span class="keywordtype">int</span> startfrom); <a name="l00526"></a>00526 <a name="l00527"></a>00527 <span class="keywordtype">char</span> *dbqual(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> tabnum, <span class="keywordtype">char</span> *tabname); <a name="l00528"></a>00528 <span class="keywordtype">void</span> dbfreequal(<span class="keywordtype">char</span> *qualptr); <a name="l00529"></a>00529 <a name="l00530"></a>00530 DBSORTORDER *dbloadsort(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00531"></a>00531 RETCODE dbfreesort(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DBSORTORDER * sortorder); <a name="l00532"></a>00532 <a name="l00533"></a>00533 RETCODE dbload_xlate(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">char</span> *srv_charset, <span class="keywordtype">char</span> *clt_name, DBXLATE ** xlt_tosrv, DBXLATE ** xlt_todisp); <a name="l00534"></a>00534 <a name="l00535"></a>00535 RETCODE dbmny4divide(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00060.html">DBMONEY4</a> * m1, <a class="code" href="a00060.html">DBMONEY4</a> * m2, <a class="code" href="a00060.html">DBMONEY4</a> * quotient); <a name="l00536"></a>00536 RETCODE dbmny4mul(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00060.html">DBMONEY4</a> * m1, <a class="code" href="a00060.html">DBMONEY4</a> * m2, <a class="code" href="a00060.html">DBMONEY4</a> * prod); <a name="l00537"></a>00537 RETCODE dbmnyadd(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * m1, <a class="code" href="a00059.html">DBMONEY</a> * m2, <a class="code" href="a00059.html">DBMONEY</a> * sum); <a name="l00538"></a>00538 RETCODE dbmnydivide(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * m1, <a class="code" href="a00059.html">DBMONEY</a> * m2, <a class="code" href="a00059.html">DBMONEY</a> * quotient); <a name="l00539"></a>00539 RETCODE dbmnydown(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * mnyptr, <span class="keywordtype">int</span> divisor, <span class="keywordtype">int</span> *remainder); <a name="l00540"></a>00540 RETCODE dbmnyinit(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * mnyptr, <span class="keywordtype">int</span> trim, DBBOOL * negative); <a name="l00541"></a>00541 RETCODE dbmnyndigit(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * mnyptr, DBCHAR * value, DBBOOL * zero); <a name="l00542"></a>00542 RETCODE dbmnymul(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * m1, <a class="code" href="a00059.html">DBMONEY</a> * m2, <a class="code" href="a00059.html">DBMONEY</a> * prod); <a name="l00543"></a>00543 RETCODE dbmnydigit(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <a class="code" href="a00059.html">DBMONEY</a> * m1, DBCHAR * value, DBBOOL * zero); <a name="l00544"></a>00544 RETCODE dbmnyscale(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * dest, <span class="keywordtype">int</span> multiplier, <span class="keywordtype">int</span> addend); <a name="l00545"></a>00545 <a name="l00546"></a>00546 <a name="l00547"></a>00547 RETCODE dbnpcreate(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00548"></a>00548 RETCODE dbnpdefine(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DBCHAR * procedure_name, DBSMALLINT namelen); <a name="l00549"></a>00549 <a name="l00550"></a>00550 <span class="keywordtype">int</span> DBNUMORDERS(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00551"></a>00551 <a name="l00552"></a>00552 RETCODE dbpoll(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">long</span> milliseconds, <a class="code" href="a00098.html">DBPROCESS</a> ** ready_dbproc, <span class="keywordtype">int</span> *return_reason); <a name="l00553"></a>00553 <span class="keywordtype">int</span> dbordercol(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> order); <a name="l00554"></a>00554 <a name="l00555"></a>00555 RETCODE dbregdrop(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DBCHAR * procnm, DBSMALLINT namelen); <a name="l00556"></a>00556 RETCODE dbregexec(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, DBUSMALLINT options); <a name="l00557"></a>00557 RETCODE dbreghandle(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DBCHAR * procnm, DBSMALLINT namelen, INTFUNCPTR handler); <a name="l00558"></a>00558 RETCODE dbreginit(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, DBCHAR * procedure_name, DBSMALLINT namelen); <a name="l00559"></a>00559 RETCODE dbreglist(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00560"></a>00560 RETCODE dbregnowatch(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DBCHAR * procnm, DBSMALLINT namelen); <a name="l00561"></a>00561 RETCODE dbregparam(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">char</span> *param_name, <span class="keywordtype">int</span> type, DBINT datalen, BYTE * data); <a name="l00562"></a>00562 RETCODE dbregwatch(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DBCHAR * procnm, DBSMALLINT namelen, DBUSMALLINT options); <a name="l00563"></a>00563 RETCODE dbregwatchlist(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00564"></a>00564 <a name="l00565"></a>00565 <span class="keywordtype">void</span> dbrpwclr(<a class="code" href="a00070.html">LOGINREC</a> * login); <a name="l00566"></a>00566 RETCODE dbrpwset(<a class="code" href="a00070.html">LOGINREC</a> * login, <span class="keywordtype">char</span> *srvname, <span class="keywordtype">char</span> *password, <span class="keywordtype">int</span> pwlen); <a name="l00567"></a>00567 <a name="l00568"></a>00568 DBINT dbreadpage(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">char</span> *p_dbname, DBINT pageno, BYTE * buf); <a name="l00569"></a>00569 RETCODE dbwritepage(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">char</span> *p_dbname, DBINT pageno, DBINT size, BYTE * buf); <a name="l00570"></a>00570 <a name="l00571"></a>00571 RETCODE dbsetdeflang(<span class="keywordtype">char</span> *language); <a name="l00572"></a>00572 <a name="l00573"></a>00573 <span class="keywordtype">int</span> dbstrcmp(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">char</span> *s1, <span class="keywordtype">int</span> l1, <span class="keywordtype">char</span> *s2, <span class="keywordtype">int</span> l2, DBSORTORDER * sort); <a name="l00574"></a>00574 <span class="keywordtype">int</span> dbstrsort(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">char</span> *s1, <span class="keywordtype">int</span> l1, <span class="keywordtype">char</span> *s2, <span class="keywordtype">int</span> l2, DBSORTORDER * sort); <a name="l00575"></a>00575 <a name="l00576"></a>00576 DBBOOL dbtabbrowse(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> tabnum); <a name="l00577"></a>00577 <span class="keywordtype">int</span> dbtabcount(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00578"></a>00578 <span class="keywordtype">char</span> *dbtabname(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> tabnum); <a name="l00579"></a>00579 <span class="keywordtype">char</span> *dbtabsoruce(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> colnum, <span class="keywordtype">int</span> *tabnum); <a name="l00580"></a>00580 <a name="l00581"></a>00581 RETCODE dbsetlshort(<a class="code" href="a00070.html">LOGINREC</a> * login, <span class="keywordtype">int</span> value, <span class="keywordtype">int</span> which); <a name="l00582"></a>00582 <a name="l00583"></a>00583 RETCODE dbsendpassthru(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DBVOIDPTR bufp); <a name="l00584"></a>00584 RETCODE dbrecvpassthru(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DBVOIDPTR * bufp); <a name="l00585"></a>00585 <a name="l00586"></a>00586 RETCODE dbgetloginfo(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DBLOGINFO ** loginfo); <a name="l00587"></a>00587 RETCODE dbsetloginfo(<a class="code" href="a00070.html">LOGINREC</a> * loginrec, DBLOGINFO * loginfo); <a name="l00588"></a>00588 <a name="l00589"></a>00589 <span class="keywordtype">int</span> dbtsnewlen(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00590"></a>00590 DBBINARY *dbtsnewval(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00591"></a>00591 RETCODE dbtsput(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DBBINARY * newts, <span class="keywordtype">int</span> newtslen, <span class="keywordtype">int</span> tabnum, <span class="keywordtype">char</span> *tabname); <a name="l00592"></a>00592 <a name="l00593"></a>00593 RETCODE dbfree_xlate(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DBXLATE * xlt_tosrv, DBXLATE * clt_todisp); <a name="l00594"></a>00594 <span class="keywordtype">int</span> dbxlate(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">char</span> *src, <span class="keywordtype">int</span> srclen, <span class="keywordtype">char</span> *dest, <span class="keywordtype">int</span> destlen, DBXLATE * xlt, <span class="keywordtype">int</span> *srcbytes_used, <a name="l00595"></a>00595 DBBOOL srcend, <span class="keywordtype">int</span> status); <a name="l00596"></a>00596 <a name="l00597"></a>00597 RETCODE bcp_moretext(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, DBINT size, BYTE * text); <a name="l00598"></a>00598 RETCODE bcp_writefmt(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keyword">const</span> <span class="keywordtype">char</span> filename[]); <a name="l00599"></a>00599 <a name="l00600"></a>00600 <span class="keywordtype">void</span> build_xact_string(<span class="keywordtype">char</span> *xact_name, <span class="keywordtype">char</span> *service_name, DBINT commid, <span class="keywordtype">char</span> *result); <a name="l00601"></a>00601 RETCODE remove_xact(<a class="code" href="a00098.html">DBPROCESS</a> * connect, DBINT commid, <span class="keywordtype">int</span> n); <a name="l00602"></a>00602 RETCODE abort_xact(<a class="code" href="a00098.html">DBPROCESS</a> * connect, DBINT commid); <a name="l00603"></a>00603 <span class="keywordtype">void</span> close_commit(<a class="code" href="a00098.html">DBPROCESS</a> * connect); <a name="l00604"></a>00604 RETCODE commit_xact(<a class="code" href="a00098.html">DBPROCESS</a> * connect, DBINT commid); <a name="l00605"></a>00605 <a class="code" href="a00098.html">DBPROCESS</a> *open_commit(<a class="code" href="a00070.html">LOGINREC</a> * login, <span class="keywordtype">char</span> *servername); <a name="l00606"></a>00606 RETCODE scan_xact(<a class="code" href="a00098.html">DBPROCESS</a> * connect, DBINT commid); <a name="l00607"></a>00607 DBINT start_xact(<a class="code" href="a00098.html">DBPROCESS</a> * connect, <span class="keywordtype">char</span> *application_name, <span class="keywordtype">char</span> *xact_name, <span class="keywordtype">int</span> site_count); <a name="l00608"></a>00608 DBINT stat_xact(<a class="code" href="a00098.html">DBPROCESS</a> * connect, DBINT commid); <a name="l00609"></a>00609 <a name="l00610"></a>00610 <span class="preprocessor">#endif </span><span class="comment">/* define unimplemented */</span> <a name="l00611"></a>00611 <a name="l00612"></a>00612 BYTE *<a class="code" href="a00286.html#gabcc14a1ca58b65bc46cce6c81c45218c" title="Get address of compute column data.">dbadata</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> computeid, <span class="keywordtype">int</span> column); <a name="l00613"></a>00613 DBINT <a class="code" href="a00286.html#ga3340e21db274b272ec11c037cb147222" title="Get size of data in a compute column.">dbadlen</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> computeid, <span class="keywordtype">int</span> column); <a name="l00614"></a>00614 RETCODE <a class="code" href="a00286.html#gafefd17e15b22adda84366c817178dd7d" title="Bind a compute column to a program variable.">dbaltbind</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> computeid, <span class="keywordtype">int</span> column, <span class="keywordtype">int</span> vartype, DBINT varlen, BYTE * varaddr); <a name="l00615"></a>00615 RETCODE dbaltbind_ps(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> computeid, <span class="keywordtype">int</span> column, <span class="keywordtype">int</span> vartype, DBINT varlen, BYTE * varaddr, <a name="l00616"></a>00616 <a class="code" href="a00064.html">DBTYPEINFO</a> * typeinfo); <a name="l00617"></a>00617 <span class="keywordtype">int</span> <a class="code" href="a00286.html#gad10c9fd75a86c7a0ac375937df0e90a6" title="Get column ID of a compute column.">dbaltcolid</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> computeid, <span class="keywordtype">int</span> column); <a name="l00618"></a>00618 RETCODE <a class="code" href="a00286.html#ga9a35c8d3cd0e35c10555baf8f6a01e93" title="Get size of data in compute column.">dbaltlen</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> computeid, <span class="keywordtype">int</span> column); <a name="l00619"></a>00619 <span class="keywordtype">int</span> <a class="code" href="a00286.html#ga947837a5c8fd99898c043435945b668c" title="Get aggregation operator for a compute column.">dbaltop</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> computeid, <span class="keywordtype">int</span> column); <a name="l00620"></a>00620 <span class="keywordtype">int</span> <a class="code" href="a00286.html#gaa85171e020dc606f2bd3395ad1d3ab4f" title="Get datatype for a compute column.">dbalttype</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> computeid, <span class="keywordtype">int</span> column); <a name="l00621"></a>00621 RETCODE <a class="code" href="a00286.html#gaf1c00d83dfa88dc99a3fb449c49660ea" title="Get user-defined datatype of a compute column.">dbaltutype</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> computeid, <span class="keywordtype">int</span> column); <a name="l00622"></a>00622 RETCODE <a class="code" href="a00286.html#ga939c2a2e67b9992c787e2cec5b6cc1a7" title="Tie a null-indicator to a compute result column.">dbanullbind</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> computeid, <span class="keywordtype">int</span> column, DBINT * indicator); <a name="l00623"></a>00623 RETCODE <a class="code" href="a00286.html#ga873bc0f4663165e711655ade1dfae795" title="Tie a host variable to a resultset column.">dbbind</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> column, <span class="keywordtype">int</span> vartype, DBINT varlen, BYTE * varaddr); <a name="l00624"></a>00624 RETCODE dbbind_ps(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> column, <span class="keywordtype">int</span> vartype, DBINT varlen, BYTE * varaddr, <a class="code" href="a00064.html">DBTYPEINFO</a> * typeinfo); <a name="l00625"></a>00625 <span class="keywordtype">int</span> dbbufsize(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00626"></a>00626 BYTE *<a class="code" href="a00286.html#gae658a0cd5270f3bd6f22de17b2cb2e64" title="Get bylist for a compute row.">dbbylist</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> computeid, <span class="keywordtype">int</span> *size); <a name="l00627"></a>00627 RETCODE <a class="code" href="a00286.html#ga5ea23272124fff03b8d87538c1ec3ee5" title="Cancel the current command batch.">dbcancel</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00628"></a>00628 RETCODE <a class="code" href="a00286.html#ga559e24ba70d0d96c3469eb6ab8f74e05" title="Cancel the query currently being retrieved, discarding all pending rows.">dbcanquery</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00629"></a>00629 <span class="keywordtype">char</span> *<a class="code" href="a00286.html#ga8cbc761b1266bd947783d843aeeec264" title="See if a command caused the current database to change.">dbchange</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00630"></a>00630 DBBOOL dbcharsetconv(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00631"></a>00631 <span class="keywordtype">void</span> <a class="code" href="a00286.html#gaef740b394b44eb33925c2718f7b30d69" title="Close a connection to the server and free associated resources.">dbclose</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00632"></a>00632 <span class="keywordtype">void</span> <a class="code" href="a00286.html#ga01404b179a251c249aecfdae72ec6ca4" title="Clear n rows from the row buffer.">dbclrbuf</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, DBINT n); <a name="l00633"></a>00633 RETCODE <a class="code" href="a00286.html#ga93ee3c8ca34a08588f88784898fd69e0" title="Reset an option.">dbclropt</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> option, <span class="keyword">const</span> <span class="keywordtype">char</span> param[]); <a name="l00634"></a>00634 RETCODE <a class="code" href="a00286.html#ga87b39d9863316b4ba85654b0885d53a0" title="Append SQL to the command buffer.">dbcmd</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keyword">const</span> <span class="keywordtype">char</span> cmdstring[]); <a name="l00635"></a>00635 RETCODE <a class="code" href="a00292.html#ga196f6d67de47f34a32fcc2103ab0f416" title="See if the current command can return rows.">dbcmdrow</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00636"></a>00636 <a name="l00637"></a><a class="code" href="a00286.html#ga8b263669ce0312e52b5ea42a57a56838">00637</a> <span class="preprocessor">#define DBCMDROW(x) dbcmdrow((x))</span> <a name="l00638"></a>00638 <span class="preprocessor"></span>RETCODE <a class="code" href="a00286.html#ga9804fc70ae6ed35c92cd75d410dad570" title="describe table column attributes with a single call (Freetds-only API function modelled...">dbtablecolinfo</a> (<a class="code" href="a00098.html">DBPROCESS</a> *dbproc, DBINT column, <a class="code" href="a00054.html">DBCOL</a> *pdbcol ); <a name="l00639"></a>00639 RETCODE <a class="code" href="a00192.html#a9b73fd1afa2c3ccfca481635212d2e43" title="Get a bunch of column attributes with a single call (Microsoft-compatibility feature)...">dbcolinfo</a> (<a class="code" href="a00098.html">DBPROCESS</a> *dbproc, CI_TYPE type, DBINT column, DBINT computeid, <a class="code" href="a00054.html">DBCOL</a> *pdbcol); <a name="l00640"></a>00640 DBINT <a class="code" href="a00286.html#ga89fc5589b4bf41932324d2cfc6ad6433" title="Get size of a regular result column.">dbcollen</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> column); <a name="l00641"></a>00641 <span class="keywordtype">char</span> *<a class="code" href="a00286.html#gad06f5deddac18604dfa858b2580e232f" title="Return name of a regular result column.">dbcolname</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> column); <a name="l00642"></a>00642 <span class="keywordtype">char</span> *<a class="code" href="a00286.html#ga3a96d0188e5e0eb9eea661b3685fdcc3" title="Get base database column name for a result set column.">dbcolsource</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> colnum); <a name="l00643"></a>00643 <span class="keywordtype">int</span> <a class="code" href="a00286.html#ga636e6f1b64743f3cf22158a56eef371f" title="Get the datatype of a regular result set column.">dbcoltype</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> column); <a name="l00644"></a>00644 <a class="code" href="a00064.html">DBTYPEINFO</a> *<a class="code" href="a00286.html#ga3c33e72c41b40e08dbcfdfa0d16bc399" title="Get precision and scale information for a regular result column.">dbcoltypeinfo</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> column); <a name="l00645"></a>00645 DBINT <a class="code" href="a00286.html#gab33d2f4fd44f50e55b6c71902db4fdae" title="Get user-defined datatype of a regular result column.">dbcolutype</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> column); <a name="l00646"></a>00646 DBINT <a class="code" href="a00286.html#ga32eb72f6fb3edb130e59fb3dd0766e7e" title="Convert one datatype to another.">dbconvert</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> srctype, <span class="keyword">const</span> BYTE * src, DBINT srclen, <span class="keywordtype">int</span> desttype, BYTE * dest, DBINT destlen); <a name="l00647"></a>00647 DBINT <a class="code" href="a00286.html#ga0320e4332d3107a6d5c5e949fcf8cac8" title="cf.">dbconvert_ps</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> srctype, BYTE * src, DBINT srclen, <span class="keywordtype">int</span> desttype, BYTE * dest, DBINT destlen, <a name="l00648"></a>00648 <a class="code" href="a00064.html">DBTYPEINFO</a> * typeinfo); <a name="l00649"></a>00649 BOOL <a class="code" href="a00286.html#ga6ba2a7f18cb76d24776e45fd71141494" title="Indicates whether or not the count returned by dbcount is real (Microsoft-compatibility...">dbiscount</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00650"></a>00650 DBINT <a class="code" href="a00286.html#ga9433bc200c0978569964354451d9b64e" title="Get count of rows processed.">dbcount</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00651"></a>00651 <a name="l00652"></a><a class="code" href="a00286.html#ga0ac1828f731a21c591c8d6330cbba3a9">00652</a> <span class="preprocessor">#define DBCOUNT(x) dbcount((x))</span> <a name="l00653"></a>00653 <span class="preprocessor"></span><span class="keywordtype">int</span> <a class="code" href="a00292.html#ga01e7fb38bece3bb07526532fa6be50e5" title="Get number of the row just returned.">dbcurcmd</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00654"></a>00654 <a name="l00655"></a><a class="code" href="a00286.html#gae375344b1ec50c1f756e3b69f3cef715">00655</a> <span class="preprocessor">#define DBCURCMD(x) dbcurcmd((x))</span> <a name="l00656"></a>00656 <span class="preprocessor"></span>DBINT <a class="code" href="a00292.html#ga9e23a95d84192b4fc83db7544d772d16" title="Get number of the row currently being read.">dbcurrow</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00657"></a>00657 <a name="l00658"></a><a class="code" href="a00286.html#gaf49e4b58918bfa4d4adaa14ee5bb375c">00658</a> <span class="preprocessor">#define DBCURROW(x) dbcurrow((x))</span> <a name="l00659"></a>00659 <span class="preprocessor"></span>BYTE *<a class="code" href="a00286.html#gaee60c306a22383805a4b9caa647a1e16" title="Get address of data in a regular result column.">dbdata</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> column); <a name="l00660"></a>00660 RETCODE <a class="code" href="a00291.html#ga4f3409b8c7afead50c8e6f476fa9fee3" title="Compare DBDATETIME values, similar to strcmp(3).">dbdatecmp</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00055.html">DBDATETIME</a> * d1, <a class="code" href="a00055.html">DBDATETIME</a> * d2); <a name="l00661"></a>00661 RETCODE <a class="code" href="a00286.html#ga3cfb1c1c8c50a09a9ac4d75800547f7a" title="Break a DBDATETIME value into useful pieces.">dbdatecrack</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00123.html">DBDATEREC</a> * di, <a class="code" href="a00055.html">DBDATETIME</a> * dt); <a name="l00662"></a>00662 DBINT <a class="code" href="a00286.html#gae666d141533126babb0235af21bdca0f" title="Get size of current row&#39;s data in a regular result column.">dbdatlen</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> column); <a name="l00663"></a>00663 DBBOOL <a class="code" href="a00292.html#gaed43cb21ed54dc1a6340075d6290e4b0" title="Check if dbproc is an ex-parrot.">dbdead</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00664"></a>00664 <a name="l00665"></a><a class="code" href="a00286.html#ga2c7b5eec4843ea326b21f2db2ded2754">00665</a> <span class="preprocessor">#define DBDEAD(x) dbdead((x))</span> <a name="l00666"></a>00666 <span class="preprocessor"></span>EHANDLEFUNC <a class="code" href="a00286.html#gab8209543de865f359bdb32829fa8b757" title="Set an error handler, for messages from db-lib.">dberrhandle</a>(EHANDLEFUNC handler); <a name="l00667"></a>00667 <span class="keywordtype">void</span> <a class="code" href="a00286.html#gad0044401c8c83205583f93a4764f2d8b" title="Close server connections and free all related structures.">dbexit</a>(<span class="keywordtype">void</span>); <a name="l00668"></a>00668 RETCODE <a class="code" href="a00286.html#ga43727b10d4cbb7708b374811abe6eadb" title="printf-like way to form SQL to send to the server.">dbfcmd</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt, ...); <a name="l00669"></a>00669 DBINT <a class="code" href="a00292.html#gaf40b925f3b3ba43804720dd4ae584935" title="See if a server response has arrived.">dbfirstrow</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00670"></a>00670 <a name="l00671"></a><a class="code" href="a00286.html#ga97a6493786124215ec9fe4b4bd2d7cbb">00671</a> <span class="preprocessor">#define DBFIRSTROW(x) dbfirstrow((x))</span> <a name="l00672"></a>00672 <span class="preprocessor"></span><span class="keywordtype">void</span> <a class="code" href="a00286.html#ga0fcfcf6846442dac9dd5584d270ec72a" title="Erase the command buffer, in case DBNOAUTOFREE was set with dbsetopt().">dbfreebuf</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00673"></a>00673 <span class="keywordtype">char</span> *<a class="code" href="a00286.html#gaf917cf746c954a5d1b718afe3c4d1940" title="Get address of a position in the command buffer.">dbgetchar</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> n); <a name="l00674"></a>00674 <span class="keywordtype">char</span> *dbgetcharset(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00675"></a>00675 <span class="keywordtype">int</span> dbgetlusername(<a class="code" href="a00070.html">LOGINREC</a> * login, BYTE * name_buffer, <span class="keywordtype">int</span> buffer_len); <a name="l00676"></a>00676 <span class="keywordtype">int</span> <a class="code" href="a00286.html#gadb34c5c2aae50ac9f2a26d8984136997" title="get maximum simultaneous connections db-lib will open to the server.">dbgetmaxprocs</a>(<span class="keywordtype">void</span>); <a name="l00677"></a>00677 <span class="keywordtype">char</span> *dbgetnatlanf(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00678"></a>00678 <span class="keywordtype">int</span> <a class="code" href="a00286.html#gabaf9aa756f7cb8bbec80d1c7201c6238" title="Get TDS packet size for the connection.">dbgetpacket</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00679"></a>00679 RETCODE <a class="code" href="a00286.html#ga60fe544491c760f8bc6c37bc7f777d70" title="Read a row from the row buffer.">dbgetrow</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, DBINT row); <a name="l00680"></a>00680 <span class="keywordtype">int</span> <a class="code" href="a00286.html#ga6ccffbb3f0cfb10883ad349f1e47c50e" title="Get maximum seconds db-lib waits for a server response to query.">dbgettime</a>(<span class="keywordtype">void</span>); <a name="l00681"></a>00681 <span class="preprocessor">#define DBGETTIME dbgettime</span> <a name="l00682"></a>00682 <span class="preprocessor"></span>BYTE *<a class="code" href="a00286.html#gaa5714a91d7c14365fa1e5b164bb2b0b6" title="Get address of user-allocated data from a DBPROCESS.">dbgetuserdata</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00683"></a>00683 DBBOOL <a class="code" href="a00287.html#ga7a5062dac92ccedc8459f6d4a530ffb7" title="Determine if query generated a return status number.">dbhasretstat</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00684"></a>00684 RETCODE <a class="code" href="a00286.html#ga564dd3a1bb0425a8957f1714d8b2a7c0" title="Initialize db-lib.">dbinit</a>(<span class="keywordtype">void</span>); <a name="l00685"></a>00685 <span class="keywordtype">int</span> <a class="code" href="a00292.html#gab842baac0ec420b265d8c199cc45059d" title="Get file descriptor of the socket used by a DBPROCESS to read data coming from the...">dbiordesc</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00686"></a>00686 <a name="l00687"></a><a class="code" href="a00286.html#ga74ac942f9b7baa49e1d7d18628321297">00687</a> <span class="preprocessor">#define DBIORDESC(x) dbiordesc((x))</span> <a name="l00688"></a>00688 <span class="preprocessor"></span><span class="keywordtype">int</span> <a class="code" href="a00292.html#ga666a4d0609ee7f241deb0a62893d2cfa" title="Get file descriptor of the socket used by a DBPROCESS to write data coming to the...">dbiowdesc</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00689"></a>00689 <a name="l00690"></a><a class="code" href="a00286.html#ga5afb13924cda059d30be36a70dcf2cd9">00690</a> <span class="preprocessor">#define DBIOWDESC(x) dbiowdesc((x))</span> <a name="l00691"></a>00691 <span class="preprocessor"></span>DBBOOL dbisavail(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00692"></a>00692 <a name="l00693"></a><a class="code" href="a00286.html#ga40f6c951a851744e58ee715c652a8ac8">00693</a> <span class="preprocessor">#define DBISAVAIL(x) dbisavail((x))</span> <a name="l00694"></a>00694 <span class="preprocessor"></span>DBBOOL <a class="code" href="a00286.html#gac3eb8cb53f50998403ea9aebc6263df9" title="Get value of an option.">dbisopt</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> option, <span class="keyword">const</span> <span class="keywordtype">char</span> param[]); <a name="l00695"></a>00695 DBINT <a class="code" href="a00292.html#ga13ead146339b43b3a4d9049eb124ef4b" title="Get number of the last row in the row buffer.">dblastrow</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00696"></a>00696 <a name="l00697"></a><a class="code" href="a00286.html#ga10b9b26cf9a901146e9675a9e678632b">00697</a> <span class="preprocessor">#define DBLASTROW(x) dblastrow((x))</span> <a name="l00698"></a>00698 <span class="preprocessor"></span><a class="code" href="a00070.html">LOGINREC</a> *<a class="code" href="a00286.html#ga0984798bb806f7451a53bffa7e2c430f" title="Allocate a LOGINREC structure.">dblogin</a>(<span class="keywordtype">void</span>); <a name="l00699"></a>00699 <span class="keywordtype">void</span> <a class="code" href="a00286.html#gac1bdb1766b791153f37dceae8ff64ad6" title="free the LOGINREC ">dbloginfree</a>(<a class="code" href="a00070.html">LOGINREC</a> * login); <a name="l00700"></a>00700 <a name="l00701"></a>00701 <span class="keywordtype">int</span> <a class="code" href="a00290.html#ga109d4868baccb08fad3b26b6f031dc78" title="Compare two DBMONEY4 values.">dbmny4cmp</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00060.html">DBMONEY4</a> * m1, <a class="code" href="a00060.html">DBMONEY4</a> * m2); <a name="l00702"></a>00702 <span class="keywordtype">int</span> <a class="code" href="a00290.html#gadddacad5c3028aa8d3726246c3825651" title="Compare two DBMONEY values.">dbmnycmp</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * m1, <a class="code" href="a00059.html">DBMONEY</a> * m2); <a name="l00703"></a>00703 <a name="l00704"></a>00704 RETCODE <a class="code" href="a00290.html#ga0a384938a6586b7411fc42420ffad6ed" title="Add two DBMONEY4 values.">dbmny4add</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00060.html">DBMONEY4</a> * m1, <a class="code" href="a00060.html">DBMONEY4</a> * m2, <a class="code" href="a00060.html">DBMONEY4</a> * sum); <a name="l00705"></a>00705 RETCODE <a class="code" href="a00290.html#gabedce74748a31ea8a6e4068a5d44d8e4" title="Subtract $0.0001 from a DBMONEY value.">dbmnydec</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * mnyptr); <a name="l00706"></a>00706 RETCODE <a class="code" href="a00290.html#gabf5216aaaa59ea7e7f07899f82a27faf" title="Add $0.0001 to a DBMONEY value.">dbmnyinc</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * mnyptr); <a name="l00707"></a>00707 RETCODE <a class="code" href="a00290.html#ga70ca2474f6c93acd6e3b842330b712c7" title="Get maximum positive DBMONEY value supported.">dbmnymaxpos</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * dest); <a name="l00708"></a>00708 RETCODE <a class="code" href="a00290.html#gabc3cb44d33bf1b9b18fd59f23e4da722" title="Get maximum negative DBMONEY value supported.">dbmnymaxneg</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * dest); <a name="l00709"></a>00709 RETCODE <a class="code" href="a00290.html#ga76177eb61a67dd52424236aba1b16bc9" title="Negate a DBMONEY4 value.">dbmny4minus</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00060.html">DBMONEY4</a> * src, <a class="code" href="a00060.html">DBMONEY4</a> * dest); <a name="l00710"></a>00710 RETCODE <a class="code" href="a00290.html#ga826bca98da4fd1c3188da45c383c3a68" title="Negate a DBMONEY value.">dbmnyminus</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * src, <a class="code" href="a00059.html">DBMONEY</a> * dest); <a name="l00711"></a>00711 RETCODE <a class="code" href="a00290.html#ga856143f4f9c7a5c15fb15633af81487d" title="Subtract two DBMONEY4 values.">dbmny4sub</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00060.html">DBMONEY4</a> * m1, <a class="code" href="a00060.html">DBMONEY4</a> * m2, <a class="code" href="a00060.html">DBMONEY4</a> * diff); <a name="l00712"></a>00712 RETCODE dbmnysub(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * m1, <a class="code" href="a00059.html">DBMONEY</a> * m2, <a class="code" href="a00059.html">DBMONEY</a> * diff); <a name="l00713"></a>00713 <a name="l00714"></a>00714 RETCODE <a class="code" href="a00290.html#gaa6d4c700b628f6a18a9d1ed9f8e2ba62" title="Copy a DBMONEY4 value.">dbmny4copy</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <a class="code" href="a00060.html">DBMONEY4</a> * m1, <a class="code" href="a00060.html">DBMONEY4</a> * m2); <a name="l00715"></a>00715 RETCODE <a class="code" href="a00290.html#ga8f1e9aa0280c1cb46c10e5c90b8faced" title="Copy a DBMONEY value.">dbmnycopy</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * src, <a class="code" href="a00059.html">DBMONEY</a> * dest); <a name="l00716"></a>00716 <a name="l00717"></a>00717 RETCODE <a class="code" href="a00290.html#ga070e94f72f12c138a16a7bcdf732fa8b" title="Zero a DBMONEY4 value.">dbmny4zero</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00060.html">DBMONEY4</a> * dest); <a name="l00718"></a>00718 RETCODE <a class="code" href="a00290.html#ga8eab0959d5a3cd534487b350258c939e" title="Set a DBMONEY value to zero.">dbmnyzero</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <a class="code" href="a00059.html">DBMONEY</a> * dest); <a name="l00719"></a>00719 <a name="l00720"></a>00720 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a00291.html#ga38ecd55ae5827bfa0fd12e2baf0950dd" title="Get name of a month, in some human language.">dbmonthname</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">char</span> *language, <span class="keywordtype">int</span> monthnum, DBBOOL shortform); <a name="l00721"></a>00721 RETCODE <a class="code" href="a00286.html#gac3ba9f53cc77e4dde8f48335ed94ac19" title="See if more commands are to be processed.">dbmorecmds</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00722"></a>00722 <a name="l00723"></a><a class="code" href="a00286.html#gad887bdce8cb0d3b8c6aaf659eb477b48">00723</a> <span class="preprocessor">#define DBMORECMDS(x) dbmorecmds((x))</span> <a name="l00724"></a>00724 <span class="preprocessor"></span>RETCODE <a class="code" href="a00286.html#ga6f13381522a1fa0b6ce2c15378088cdd" title="Send chunk of a text/image value to the server.">dbmoretext</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, DBINT size, <span class="keyword">const</span> BYTE text[]); <a name="l00725"></a>00725 MHANDLEFUNC <a class="code" href="a00286.html#gadc8af9a65f3719804c2537fd737298ca" title="Set a message handler, for messages from the server.">dbmsghandle</a>(MHANDLEFUNC handler); <a name="l00726"></a>00726 <span class="keywordtype">char</span> *<a class="code" href="a00286.html#gab185982ffe0b85b8fd19747bd1f433fe" title="Get name of current database.">dbname</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00727"></a>00727 RETCODE <a class="code" href="a00286.html#gac67e6a022bb81195a120397ade07f5dd" title="Read result row into the row buffer and into any bound host variables.">dbnextrow</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00728"></a>00728 RETCODE <a class="code" href="a00286.html#ga85dcc40c3615f94be96b09b2ec043533" title="Tie a null-indicator to a regular result column.">dbnullbind</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> column, DBINT * indicator); <a name="l00729"></a>00729 <span class="keywordtype">int</span> <a class="code" href="a00286.html#ga67934deac3bebbf8238eff8c0559389a" title="Get count of columns in a compute row.">dbnumalts</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> computeid); <a name="l00730"></a>00730 <span class="keywordtype">int</span> <a class="code" href="a00286.html#gadaa9482a082aa3fe52231e17749c2993" title="Return number of regular columns in a result set.">dbnumcols</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00731"></a>00731 <span class="keywordtype">int</span> <a class="code" href="a00286.html#gac554d2cb2da0c9f9fd3d4867998edcc4" title="Get count of COMPUTE clauses for a result set.">dbnumcompute</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00732"></a>00732 <span class="keywordtype">int</span> <a class="code" href="a00287.html#gaff09873008411a0573f6d1a9e6c7cf4b" title="Get count of output parameters filled by a stored procedure.">dbnumrets</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00733"></a>00733 <a class="code" href="a00098.html">DBPROCESS</a> *<a class="code" href="a00292.html#ga2c99ec565452279e9a382451d89642eb" title="Form a connection with the server.">tdsdbopen</a>(<a class="code" href="a00070.html">LOGINREC</a> * login, <span class="keyword">const</span> <span class="keywordtype">char</span> *server, <span class="keywordtype">int</span> msdblib); <a name="l00734"></a>00734 <a class="code" href="a00098.html">DBPROCESS</a> *dbopen(<a class="code" href="a00070.html">LOGINREC</a> * login, <span class="keyword">const</span> <span class="keywordtype">char</span> *server); <a name="l00735"></a>00735 <a name="l00736"></a>00736 <span class="preprocessor">#ifdef MSDBLIB</span> <a name="l00737"></a>00737 <span class="preprocessor"></span><span class="preprocessor">#define dbopen(x,y) tdsdbopen((x),(y), 1)</span> <a name="l00738"></a>00738 <span class="preprocessor"></span><span class="preprocessor">#else</span> <a name="l00739"></a>00739 <span class="preprocessor"></span><span class="preprocessor">#define dbopen(x,y) tdsdbopen((x),(y), 0)</span> <a name="l00740"></a>00740 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00741"></a>00741 <span class="preprocessor"></span> <a name="l00742"></a>00742 <span class="comment">/* fix PHP problem */</span> <a name="l00743"></a>00743 <span class="preprocessor">#ifdef PHP_SYBASE_DBOPEN</span> <a name="l00744"></a>00744 <span class="preprocessor"></span><span class="preprocessor">#undef PHP_SYBASE_DBOPEN</span> <a name="l00745"></a>00745 <span class="preprocessor"></span><span class="preprocessor">#define PHP_SYBASE_DBOPEN dbopen</span> <a name="l00746"></a>00746 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l00747"></a>00747 <span class="preprocessor"></span> <a name="l00748"></a>00748 <span class="keywordtype">void</span> <a class="code" href="a00286.html#ga9dfc2ee533e5e48a7aa8ca22f8d9ed79" title="Print result set headings to stdout.">dbprhead</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00749"></a>00749 RETCODE <a class="code" href="a00286.html#gaa30be3414a97aac6139af2e928db91ca" title="Print a result set to stdout.">dbprrow</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00750"></a>00750 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a00286.html#gac25ae21ca19777ffab1c013bd6049ebf" title="Print a token value&#39;s name to a buffer.">dbprtype</a>(<span class="keywordtype">int</span> token); <a name="l00751"></a>00751 DBBOOL DRBUF(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00752"></a>00752 STATUS <a class="code" href="a00286.html#gadd5685565c8c6c86079e17b8a73b324c" title="Fetch part of a text or image value from the server.">dbreadtext</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">void</span> *buf, DBINT bufsize); <a name="l00753"></a>00753 <span class="keywordtype">void</span> <a class="code" href="a00286.html#gabb14ad9f268b92a8d63fa506098b24dd" title="Record to a file all SQL commands sent to the server.">dbrecftos</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> filename[]); <a name="l00754"></a>00754 RETCODE <a class="code" href="a00286.html#ga4e26d949be2c3bf71b1a33c75b11d931" title="Set up query results.">dbresults</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00755"></a>00755 RETCODE dbresults_r(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> recursive); <a name="l00756"></a>00756 BYTE *<a class="code" href="a00287.html#ga42e187003b74fec6e9ca92d410bfb9c0" title="Get value of an output parameter filled by a stored procedure.">dbretdata</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> retnum); <a name="l00757"></a>00757 <span class="keywordtype">int</span> <a class="code" href="a00287.html#gab705bf94be535e9d8fc4edc0f48c98b0" title="Get size of an output parameter filled by a stored procedure.">dbretlen</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> retnum); <a name="l00758"></a>00758 <span class="keywordtype">char</span> *<a class="code" href="a00287.html#ga0311328d63bae5d9bd5aea5ea4914223" title="Get name of an output parameter filled by a stored procedure.">dbretname</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> retnum); <a name="l00759"></a>00759 DBINT <a class="code" href="a00287.html#ga2306039d73fbc7045f257b0e750c37b4" title="Fetch status value returned by query or remote procedure call.">dbretstatus</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00760"></a>00760 <span class="keywordtype">int</span> <a class="code" href="a00287.html#gaa478c8b96923bca02d158d966172ec1b" title="Get datatype of a stored procedure&#39;s return parameter.">dbrettype</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> retnum); <a name="l00761"></a>00761 RETCODE <a class="code" href="a00292.html#ga4be2ab59dc7161d6b93c17202e7ae9b1" title="Indicate whether a query returned rows.">dbrows</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00762"></a>00762 <a name="l00763"></a><a class="code" href="a00286.html#ga48d71b32c26703c810191ef916c5448c">00763</a> <span class="preprocessor">#define DBROWS(x) dbrows((x))</span> <a name="l00764"></a>00764 <span class="preprocessor"></span>STATUS <a class="code" href="a00292.html#gaa2dc8c062342f76adffe53ee280b7fb4" title="Get returned row&#39;s type.">dbrowtype</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00765"></a>00765 <a name="l00766"></a><a class="code" href="a00286.html#ga6fda3f4982dda5825d13fee392e89fd9">00766</a> <span class="preprocessor">#define DBROWTYPE(x) dbrowtype((x))</span> <a name="l00767"></a>00767 <span class="preprocessor"></span>RETCODE <a class="code" href="a00287.html#ga5b4374c13c7a83cd4345b0bfa3e787bd" title="Initialize a remote procedure call.">dbrpcinit</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keyword">const</span> <span class="keywordtype">char</span> rpcname[], DBSMALLINT options); <a name="l00768"></a>00768 RETCODE <a class="code" href="a00287.html#ga98b9b5db66975dafae8d422218e4de45" title="Add a parameter to a remote procedure call.">dbrpcparam</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keyword">const</span> <span class="keywordtype">char</span> paramname[], BYTE status, <span class="keywordtype">int</span> type, DBINT maxlen, DBINT datalen, BYTE * value); <a name="l00769"></a>00769 RETCODE <a class="code" href="a00287.html#gafa4dfd181be21e49c397f7daaa9cf96c" title="Execute the procedure and free associated memory.">dbrpcsend</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00770"></a>00770 RETCODE <a class="code" href="a00286.html#gad0ccc03b94ba2515fd1f5d35559fcb41" title="safely quotes character values in SQL text.">dbsafestr</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keyword">const</span> <span class="keywordtype">char</span> *src, DBINT srclen, <span class="keywordtype">char</span> *dest, DBINT destlen, <span class="keywordtype">int</span> quotetype); <a name="l00771"></a>00771 RETCODE *dbsechandle(DBINT type, INTFUNCPTR handler); <a name="l00772"></a>00772 <span class="keywordtype">char</span> *<a class="code" href="a00286.html#ga39302e8efbb476ba01cff109ffb3661e" title="Get syscharset name of the server character set.">dbservcharset</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00773"></a>00773 <span class="keywordtype">void</span> <a class="code" href="a00292.html#ga5ce245ff327a3d333280fe7b43d69ded" title="Mark a DBPROCESS as &quot;available&quot;.">dbsetavail</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l00774"></a>00774 <span class="keywordtype">void</span> dbsetbusy(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DB_DBBUSY_FUNC busyfunc); <a name="l00775"></a>00775 RETCODE dbsetdefcharset(<span class="keywordtype">char</span> *charset); <a name="l00776"></a>00776 <span class="keywordtype">void</span> dbsetidle(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DB_DBIDLE_FUNC idlefunc); <a name="l00777"></a>00777 <span class="keywordtype">void</span> <a class="code" href="a00286.html#ga663350909fec3a1d152316c45a65e708" title="set name and location of the interfaces file FreeTDS should use to look up a servername...">dbsetifile</a>(<span class="keywordtype">char</span> *filename); <a name="l00778"></a>00778 <span class="keywordtype">void</span> <a class="code" href="a00286.html#ga335fcbe476ad0f897e4e2ce377f0a8cc" title="Set interrupt handler for db-lib to use while blocked against a read from the server...">dbsetinterrupt</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, DB_DBCHKINTR_FUNC chkintr, DB_DBHNDLINTR_FUNC hndlintr); <a name="l00779"></a>00779 RETCODE <a class="code" href="a00286.html#ga5f1281c07dde5a6d28e60ef62c501d1d" title="Set maximum seconds db-lib waits for a server response to a login attempt.">dbsetlogintime</a>(<span class="keywordtype">int</span> seconds); <a name="l00780"></a>00780 RETCODE <a class="code" href="a00286.html#gaf2ca0e63f800b3839684c894ff651dd4" title="Set maximum simultaneous connections db-lib will open to the server.">dbsetmaxprocs</a>(<span class="keywordtype">int</span> maxprocs); <a name="l00781"></a>00781 RETCODE <a class="code" href="a00286.html#ga399512ec78c15ce3db79ea88ef3b1293" title="Define substitution values to be used when binding null values.">dbsetnull</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, <span class="keywordtype">int</span> bindtype, <span class="keywordtype">int</span> bindlen, BYTE * bindval); <a name="l00782"></a>00782 RETCODE <a class="code" href="a00286.html#ga9d660d278f3f58871b4086c0e175f4c6" title="Set db-lib or server option.">dbsetopt</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> option, <span class="keyword">const</span> <span class="keywordtype">char</span> *char_param, <span class="keywordtype">int</span> int_param); <a name="l00783"></a>00783 STATUS <a class="code" href="a00286.html#gadc3d134bbec45ef16d2619de1922767d" title="Make a buffered row &quot;current&quot; without fetching it into bound variables...">dbsetrow</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DBINT row); <a name="l00784"></a>00784 RETCODE <a class="code" href="a00286.html#gada4b41f34542a87f0cd87e78e56d18bb" title="Set maximum seconds db-lib waits for a server response to query.">dbsettime</a>(<span class="keywordtype">int</span> seconds); <a name="l00785"></a>00785 <span class="keywordtype">void</span> <a class="code" href="a00286.html#gabea9c70d02bf3e46bbb1d759915cb91e" title="Associate client-allocated (and defined) data with a DBPROCESS.">dbsetuserdata</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, BYTE * ptr); <a name="l00786"></a>00786 RETCODE <a class="code" href="a00286.html#gab9aa181fb3081ffb314340cbd71e434d" title="Specify a db-lib version level.">dbsetversion</a>(DBINT version); <a name="l00787"></a>00787 <a name="l00788"></a>00788 <span class="keywordtype">int</span> <a class="code" href="a00286.html#ga223a6d333f95e726b0b42ec19a076731" title="Get server process ID for a DBPROCESS.">dbspid</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00789"></a>00789 RETCODE <a class="code" href="a00286.html#gaf641c8e3d34607ca8b7ac2afed3e6d67" title="Print a regular result row to a buffer.">dbspr1row</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">char</span> *buffer, DBINT buf_len); <a name="l00790"></a>00790 DBINT <a class="code" href="a00286.html#ga308918c13a5b1644269c1654fbea96ac" title="Determine size buffer required to hold the results returned by dbsprhead(), dbsprline()...">dbspr1rowlen</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00791"></a>00791 RETCODE <a class="code" href="a00286.html#gaaa4839a9c88e5b90f33bd2407fcbc43e" title="Print result set headings to a buffer.">dbsprhead</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">char</span> *buffer, DBINT buf_len); <a name="l00792"></a>00792 RETCODE <a class="code" href="a00286.html#gacfaf9feb29c87cfb660886162f643152" title="Get formatted string for underlining dbsprhead() column names.">dbsprline</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">char</span> *buffer, DBINT buf_len, DBCHAR line_char); <a name="l00793"></a>00793 RETCODE <a class="code" href="a00286.html#gaae889abeb145ec41f7361aa8f597fe46" title="send the SQL command to the server and wait for an answer.">dbsqlexec</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00794"></a>00794 RETCODE <a class="code" href="a00286.html#gae1f50a6a2c31fda57cb481922b06841e" title="Wait for results of a query from the server.">dbsqlok</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00795"></a>00795 RETCODE <a class="code" href="a00286.html#gac980139b9cea03cf93e373d425991481" title="Transmit the command buffer to the server.">dbsqlsend</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00796"></a>00796 <span class="keywordtype">int</span> <a class="code" href="a00286.html#ga5f24dbd49976e155098a1ff9f3ec3641" title="Build a printable string from text containing placeholders for variables.">dbstrbuild</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">char</span> *charbuf, <span class="keywordtype">int</span> bufsize, <span class="keywordtype">char</span> *text, <span class="keywordtype">char</span> *formats, ...); <a name="l00797"></a>00797 RETCODE <a class="code" href="a00286.html#gaf130b12e9e58b1bfd4a6685e33f5b3cd" title="Get a copy of a chunk of the command buffer.">dbstrcpy</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> start, <span class="keywordtype">int</span> numbytes, <span class="keywordtype">char</span> *dest); <a name="l00798"></a>00798 <span class="keywordtype">int</span> <a class="code" href="a00286.html#ga13caa07ec45cd6f64e9197d29e3cfe5e" title="Get size of the command buffer, in bytes.">dbstrlen</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l00799"></a>00799 DBINT <a class="code" href="a00286.html#ga57c856964a9a0b4cc43f5192647c51e7" title="Determine whether a column can vary in size.">dbvarylen</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> column); <a name="l00800"></a>00800 <a name="l00801"></a>00801 <span class="preprocessor">#define SYBEVERDOWN 100 </span><span class="comment">/* TDS version downgraded . */</span> <a name="l00802"></a>00802 <span class="preprocessor">#define SYBEICONVIU 2400 </span><span class="comment">/* Some character(s) could not be converted into client's character set. */</span> <a name="l00803"></a>00803 <span class="preprocessor">#define SYBEICONVAVAIL 2401 </span><span class="comment">/* Character set conversion is not available between client character set '%.*s' and server character set '%.*s'.*/</span> <a name="l00804"></a>00804 <span class="preprocessor">#define SYBEICONVO 2402 </span><span class="comment">/* Error converting characters into server's character set. Some character(s) could not be converted.*/</span> <a name="l00805"></a>00805 <span class="preprocessor">#define SYBEICONVI 2403 </span><span class="comment">/* Some character(s) could not be converted into client's character set. Unconverted bytes were changed to question marks ('?').*/</span> <a name="l00806"></a>00806 <span class="preprocessor">#define SYBEICONV2BIG 2404 </span><span class="comment">/* Buffer overflow converting characters from client into server's character set.*/</span> <a name="l00807"></a>00807 <span class="comment">/* cf. doc/dblib_errors.txt for more iconv error values. */</span> <a name="l00808"></a>00808 <span class="comment">/* Reserve a few slots for other iconv-related issues. */</span> <a name="l00809"></a>00809 <span class="preprocessor">#define SYBETDSVER 2410 </span><span class="comment">/* Cannot bcp with TDSVER < 5.0 */</span> <a name="l00810"></a>00810 <span class="preprocessor">#define SYBEPORT 2500 </span><span class="comment">/* Both port and instance specified */</span> <a name="l00811"></a>00811 <span class="preprocessor">#define SYBESYNC 20001 </span><span class="comment">/* Read attempted while out of synchronization with SQL Server. */</span> <a name="l00812"></a>00812 <span class="preprocessor">#define SYBEFCON 20002 </span><span class="comment">/* SQL Server connection failed. */</span> <a name="l00813"></a>00813 <span class="preprocessor">#define SYBETIME 20003 </span><span class="comment">/* SQL Server connection timed out. */</span> <a name="l00814"></a>00814 <span class="preprocessor">#define SYBEREAD 20004 </span><span class="comment">/* Read from SQL Server failed. */</span> <a name="l00815"></a>00815 <span class="preprocessor">#define SYBEBUFL 20005 </span><span class="comment">/* DB-LIBRARY internal error - send buffer length corrupted. */</span> <a name="l00816"></a>00816 <span class="preprocessor">#define SYBEWRIT 20006 </span><span class="comment">/* Write to SQL Server failed. */</span> <a name="l00817"></a>00817 <span class="preprocessor">#define SYBEVMS 20007 </span><span class="comment">/* Sendflush: VMS I/O error. */</span> <a name="l00818"></a>00818 <span class="preprocessor">#define SYBESOCK 20008 </span><span class="comment">/* Unable to open socket */</span> <a name="l00819"></a>00819 <span class="preprocessor">#define SYBECONN 20009 </span><span class="comment">/* Unable to connect socket -- SQL Server is unavailable or does not exist. */</span> <a name="l00820"></a>00820 <span class="preprocessor">#define SYBEMEM 20010 </span><span class="comment">/* Unable to allocate sufficient memory */</span> <a name="l00821"></a>00821 <span class="preprocessor">#define SYBEDBPS 20011 </span><span class="comment">/* Maximum number of DBPROCESSes already allocated. */</span> <a name="l00822"></a>00822 <span class="preprocessor">#define SYBEINTF 20012 </span><span class="comment">/* Server name not found in interface file */</span> <a name="l00823"></a>00823 <span class="preprocessor">#define SYBEUHST 20013 </span><span class="comment">/* Unknown host machine name */</span> <a name="l00824"></a>00824 <span class="preprocessor">#define SYBEPWD 20014 </span><span class="comment">/* Incorrect password. */</span> <a name="l00825"></a>00825 <span class="preprocessor">#define SYBEOPIN 20015 </span><span class="comment">/* Could not open interface file. */</span> <a name="l00826"></a>00826 <span class="preprocessor">#define SYBEINLN 20016 </span><span class="comment">/* Interface file: unexpected end-of-line. */</span> <a name="l00827"></a>00827 <span class="preprocessor">#define SYBESEOF 20017 </span><span class="comment">/* Unexpected EOF from SQL Server. */</span> <a name="l00828"></a>00828 <span class="preprocessor">#define SYBESMSG 20018 </span><span class="comment">/* General SQL Server error: Check messages from the SQL Server. */</span> <a name="l00829"></a>00829 <span class="preprocessor">#define SYBERPND 20019 </span><span class="comment">/* Attempt to initiate a new SQL Server operation with results pending. */</span> <a name="l00830"></a>00830 <span class="preprocessor">#define SYBEBTOK 20020 </span><span class="comment">/* Bad token from SQL Server: Data-stream processing out of sync. */</span> <a name="l00831"></a>00831 <span class="preprocessor">#define SYBEITIM 20021 </span><span class="comment">/* Illegal timeout value specified. */</span> <a name="l00832"></a>00832 <span class="preprocessor">#define SYBEOOB 20022 </span><span class="comment">/* Error in sending out-of-band data to SQL Server. */</span> <a name="l00833"></a>00833 <span class="preprocessor">#define SYBEBTYP 20023 </span><span class="comment">/* Unknown bind type passed to DB-LIBRARY function. */</span> <a name="l00834"></a>00834 <span class="preprocessor">#define SYBEBNCR 20024 </span><span class="comment">/* Attempt to bind user variable to a non-existent compute row. */</span> <a name="l00835"></a>00835 <span class="preprocessor">#define SYBEIICL 20025 </span><span class="comment">/* Illegal integer column length returned by SQL Server. Legal integer lengths are 1, 2, and 4 bytes. */</span> <a name="l00836"></a>00836 <span class="preprocessor">#define SYBECNOR 20026 </span><span class="comment">/* Column number out of range. */</span> <a name="l00837"></a>00837 <span class="preprocessor">#define SYBENPRM 20027 </span><span class="comment">/* NULL parameter not allowed for this dboption. */</span> <a name="l00838"></a>00838 <span class="preprocessor">#define SYBEUVDT 20028 </span><span class="comment">/* Unknown variable-length datatype encountered. */</span> <a name="l00839"></a>00839 <span class="preprocessor">#define SYBEUFDT 20029 </span><span class="comment">/* Unknown fixed-length datatype encountered. */</span> <a name="l00840"></a>00840 <span class="preprocessor">#define SYBEWAID 20030 </span><span class="comment">/* DB-LIBRARY internal error: ALTFMT following ALTNAME has wrong id. */</span> <a name="l00841"></a>00841 <span class="preprocessor">#define SYBECDNS 20031 </span><span class="comment">/* Datastream indicates that a compute column is derived from a non-existent select-list member. */</span> <a name="l00842"></a>00842 <span class="preprocessor">#define SYBEABNC 20032 </span><span class="comment">/* Attempt to bind to a non-existent column. */</span> <a name="l00843"></a>00843 <span class="preprocessor">#define SYBEABMT 20033 </span><span class="comment">/* User attempted a dbbind() with mismatched column and variable types. */</span> <a name="l00844"></a>00844 <span class="preprocessor">#define SYBEABNP 20034 </span><span class="comment">/* Attempt to bind using NULL pointers. */</span> <a name="l00845"></a>00845 <span class="preprocessor">#define SYBEAAMT 20035 </span><span class="comment">/* User attempted a dbaltbind() with mismatched column and variable types. */</span> <a name="l00846"></a>00846 <span class="preprocessor">#define SYBENXID 20036 </span><span class="comment">/* The Server did not grant us a distributed-transaction ID. */</span> <a name="l00847"></a>00847 <span class="preprocessor">#define SYBERXID 20037 </span><span class="comment">/* The Server did not recognize our distributed-transaction ID. */</span> <a name="l00848"></a>00848 <span class="preprocessor">#define SYBEICN 20038 </span><span class="comment">/* Invalid computeid or compute column number. */</span> <a name="l00849"></a>00849 <span class="preprocessor">#define SYBENMOB 20039 </span><span class="comment">/* No such member of 'order by' clause. */</span> <a name="l00850"></a>00850 <span class="preprocessor">#define SYBEAPUT 20040 </span><span class="comment">/* Attempt to print unknown token. */</span> <a name="l00851"></a>00851 <span class="preprocessor">#define SYBEASNL 20041 </span><span class="comment">/* Attempt to set fields in a null loginrec. */</span> <a name="l00852"></a>00852 <span class="preprocessor">#define SYBENTLL 20042 </span><span class="comment">/* Name too long for loginrec field. */</span> <a name="l00853"></a>00853 <span class="preprocessor">#define SYBEASUL 20043 </span><span class="comment">/* Attempt to set unknown loginrec field. */</span> <a name="l00854"></a>00854 <span class="preprocessor">#define SYBERDNR 20044 </span><span class="comment">/* Attempt to retrieve data from a non-existent row. */</span> <a name="l00855"></a>00855 <span class="preprocessor">#define SYBENSIP 20045 </span><span class="comment">/* Negative starting index passed to dbstrcpy(). */</span> <a name="l00856"></a>00856 <span class="preprocessor">#define SYBEABNV 20046 </span><span class="comment">/* Attempt to bind to a NULL program variable. */</span> <a name="l00857"></a>00857 <span class="preprocessor">#define SYBEDDNE 20047 </span><span class="comment">/* DBPROCESS is dead or not enabled. */</span> <a name="l00858"></a>00858 <span class="preprocessor">#define SYBECUFL 20048 </span><span class="comment">/* Data-conversion resulted in underflow. */</span> <a name="l00859"></a>00859 <span class="preprocessor">#define SYBECOFL 20049 </span><span class="comment">/* Data-conversion resulted in overflow. */</span> <a name="l00860"></a>00860 <span class="preprocessor">#define SYBECSYN 20050 </span><span class="comment">/* Attempt to convert data stopped by syntax error in source field. */</span> <a name="l00861"></a>00861 <span class="preprocessor">#define SYBECLPR 20051 </span><span class="comment">/* Data-conversion resulted in loss of precision. */</span> <a name="l00862"></a>00862 <span class="preprocessor">#define SYBECNOV 20052 </span><span class="comment">/* Attempt to set variable to NULL resulted in overflow. */</span> <a name="l00863"></a>00863 <span class="preprocessor">#define SYBERDCN 20053 </span><span class="comment">/* Requested data-conversion does not exist. */</span> <a name="l00864"></a>00864 <span class="preprocessor">#define SYBESFOV 20054 </span><span class="comment">/* dbsafestr() overflowed its destination buffer. */</span> <a name="l00865"></a>00865 <span class="preprocessor">#define SYBEUNT 20055 </span><span class="comment">/* Unknown network type found in interface file. */</span> <a name="l00866"></a>00866 <span class="preprocessor">#define SYBECLOS 20056 </span><span class="comment">/* Error in closing network connection. */</span> <a name="l00867"></a>00867 <span class="preprocessor">#define SYBEUAVE 20057 </span><span class="comment">/* Unable to allocate VMS event flag. */</span> <a name="l00868"></a>00868 <span class="preprocessor">#define SYBEUSCT 20058 </span><span class="comment">/* Unable to set communications timer. */</span> <a name="l00869"></a>00869 <span class="preprocessor">#define SYBEEQVA 20059 </span><span class="comment">/* Error in queueing VMS AST routine. */</span> <a name="l00870"></a>00870 <span class="preprocessor">#define SYBEUDTY 20060 </span><span class="comment">/* Unknown datatype encountered. */</span> <a name="l00871"></a>00871 <span class="preprocessor">#define SYBETSIT 20061 </span><span class="comment">/* Attempt to call dbtsput() with an invalid timestamp. */</span> <a name="l00872"></a>00872 <span class="preprocessor">#define SYBEAUTN 20062 </span><span class="comment">/* Attempt to update the timestamp of a table which has no timestamp column. */</span> <a name="l00873"></a>00873 <span class="preprocessor">#define SYBEBDIO 20063 </span><span class="comment">/* Bad bulk-copy direction. Must be either IN or OUT. */</span> <a name="l00874"></a>00874 <span class="preprocessor">#define SYBEBCNT 20064 </span><span class="comment">/* Attempt to use Bulk Copy with a non-existent Server table. */</span> <a name="l00875"></a>00875 <span class="preprocessor">#define SYBEIFNB 20065 </span><span class="comment">/* Illegal field number passed to bcp_control(). */</span> <a name="l00876"></a>00876 <span class="preprocessor">#define SYBETTS 20066 </span><span class="comment">/* The table which bulk-copy is attempting to copy to a host-file is shorter than the number of rows which bulk-copy was instructed to skip. */</span> <a name="l00877"></a>00877 <span class="preprocessor">#define SYBEKBCO 20067 </span><span class="comment">/* 1000 rows successfully bulk-copied to host-file. */</span> <a name="l00878"></a>00878 <span class="preprocessor">#define SYBEBBCI 20068 </span><span class="comment">/* Batch successfully bulk-copied to SQL Server. */</span> <a name="l00879"></a>00879 <span class="preprocessor">#define SYBEKBCI 20069 </span><span class="comment">/* Bcp: 1000 rows sent to SQL Server. */</span> <a name="l00880"></a>00880 <span class="preprocessor">#define SYBEBCRE 20070 </span><span class="comment">/* I/O error while reading bcp data-file. */</span> <a name="l00881"></a>00881 <span class="preprocessor">#define SYBETPTN 20071 </span><span class="comment">/* Syntax error: only two periods are permitted in table names. */</span> <a name="l00882"></a>00882 <span class="preprocessor">#define SYBEBCWE 20072 </span><span class="comment">/* I/O error while writing bcp data-file. */</span> <a name="l00883"></a>00883 <span class="preprocessor">#define SYBEBCNN 20073 </span><span class="comment">/* Attempt to bulk-copy a NULL value into Server column %d, which does not accept NULL values. */</span> <a name="l00884"></a>00884 <span class="preprocessor">#define SYBEBCOR 20074 </span><span class="comment">/* Attempt to bulk-copy an oversized row to the SQL Server. */</span> <a name="l00885"></a>00885 <span class="preprocessor">#define SYBEBCIS 20075 </span><span class="comment">/* Attempt to bulk-copy an illegally-sized column value to the SQL Server. */</span> <a name="l00886"></a>00886 <span class="preprocessor">#define SYBEBCPI 20076 </span><span class="comment">/* bcp_init() must be called before any other bcp routines. */</span> <a name="l00887"></a>00887 <span class="preprocessor">#define SYBEBCPN 20077 </span><span class="comment">/* bcp_bind(), bcp_collen(), bcp_colptr(), bcp_moretext() and bcp_sendrow() may be used only after bcp_init() has been called with the copy direction set to DB_IN. */</span> <a name="l00888"></a>00888 <span class="preprocessor">#define SYBEBCPB 20078 </span><span class="comment">/* bcp_bind(), bcp_moretext() and bcp_sendrow() may NOT be used after bcp_init() has been passed a non-NULL input file name. */</span> <a name="l00889"></a>00889 <span class="preprocessor">#define SYBEVDPT 20079 </span><span class="comment">/* For bulk copy, all variable-length data must have either a length-prefix or a terminator specified. */</span> <a name="l00890"></a>00890 <span class="preprocessor">#define SYBEBIVI 20080 </span><span class="comment">/* bcp_columns(), bcp_colfmt() and bcp_colfmt_ps() may be used only after bcp_init() has been passed a valid input file. */</span> <a name="l00891"></a>00891 <span class="preprocessor">#define SYBEBCBC 20081 </span><span class="comment">/* bcp_columns() must be called before bcp_colfmt() and bcp_colfmt_ps(). */</span> <a name="l00892"></a>00892 <span class="preprocessor">#define SYBEBCFO 20082 </span><span class="comment">/* Bcp host-files must contain at least one column. */</span> <a name="l00893"></a>00893 <span class="preprocessor">#define SYBEBCVH 20083 </span><span class="comment">/* bcp_exec() may be called only after bcp_init() has been passed a valid host file. */</span> <a name="l00894"></a>00894 <span class="preprocessor">#define SYBEBCUO 20084 </span><span class="comment">/* Bcp: Unable to open host data-file. */</span> <a name="l00895"></a>00895 <span class="preprocessor">#define SYBEBCUC 20085 </span><span class="comment">/* Bcp: Unable to close host data-file. */</span> <a name="l00896"></a>00896 <span class="preprocessor">#define SYBEBUOE 20086 </span><span class="comment">/* Bcp: Unable to open error-file. */</span> <a name="l00897"></a>00897 <span class="preprocessor">#define SYBEBUCE 20087 </span><span class="comment">/* Bcp: Unable to close error-file. */</span> <a name="l00898"></a>00898 <span class="preprocessor">#define SYBEBWEF 20088 </span><span class="comment">/* I/O error while writing bcp error-file. */</span> <a name="l00899"></a>00899 <span class="preprocessor">#define SYBEASTF 20089 </span><span class="comment">/* VMS: Unable to setmode for control_c ast. */</span> <a name="l00900"></a>00900 <span class="preprocessor">#define SYBEUACS 20090 </span><span class="comment">/* VMS: Unable to assign channel to sys$command. */</span> <a name="l00901"></a>00901 <span class="preprocessor">#define SYBEASEC 20091 </span><span class="comment">/* Attempt to send an empty command buffer to the SQL Server. */</span> <a name="l00902"></a>00902 <span class="preprocessor">#define SYBETMTD 20092 </span><span class="comment">/* Attempt to send too much TEXT data via the dbmoretext() call. */</span> <a name="l00903"></a>00903 <span class="preprocessor">#define SYBENTTN 20093 </span><span class="comment">/* Attempt to use dbtxtsput() to put a new text-timestamp into a non-existent data row. */</span> <a name="l00904"></a>00904 <span class="preprocessor">#define SYBEDNTI 20094 </span><span class="comment">/* Attempt to use dbtxtsput() to put a new text-timestamp into a column whose datatype is neither SYBTEXT nor SYBIMAGE. */</span> <a name="l00905"></a>00905 <span class="preprocessor">#define SYBEBTMT 20095 </span><span class="comment">/* Attempt to send too much TEXT data via the bcp_moretext() call. */</span> <a name="l00906"></a>00906 <span class="preprocessor">#define SYBEORPF 20096 </span><span class="comment">/* Attempt to set remote password would overflow the login-record's remote-password field. */</span> <a name="l00907"></a>00907 <span class="preprocessor">#define SYBEUVBF 20097 </span><span class="comment">/* Attempt to read an unknown version of BCP format-file. */</span> <a name="l00908"></a>00908 <span class="preprocessor">#define SYBEBUOF 20098 </span><span class="comment">/* Bcp: Unable to open format-file. */</span> <a name="l00909"></a>00909 <span class="preprocessor">#define SYBEBUCF 20099 </span><span class="comment">/* Bcp: Unable to close format-file. */</span> <a name="l00910"></a>00910 <span class="preprocessor">#define SYBEBRFF 20100 </span><span class="comment">/* I/O error while reading bcp format-file. */</span> <a name="l00911"></a>00911 <span class="preprocessor">#define SYBEBWFF 20101 </span><span class="comment">/* I/O error while writing bcp format-file. */</span> <a name="l00912"></a>00912 <span class="preprocessor">#define SYBEBUDF 20102 </span><span class="comment">/* Bcp: Unrecognized datatype found in format-file. */</span> <a name="l00913"></a>00913 <span class="preprocessor">#define SYBEBIHC 20103 </span><span class="comment">/* Incorrect host-column number found in bcp format-file. */</span> <a name="l00914"></a>00914 <span class="preprocessor">#define SYBEBEOF 20104 </span><span class="comment">/* Unexpected EOF encountered in BCP data-file. */</span> <a name="l00915"></a>00915 <span class="preprocessor">#define SYBEBCNL 20105 </span><span class="comment">/* Negative length-prefix found in BCP data-file. */</span> <a name="l00916"></a>00916 <span class="preprocessor">#define SYBEBCSI 20106 </span><span class="comment">/* Host-file columns may be skipped only when copying INto the Server. */</span> <a name="l00917"></a>00917 <span class="preprocessor">#define SYBEBCIT 20107 </span><span class="comment">/* It's illegal to use BCP terminators with program variables other than SYBCHAR, SYBBINARY, SYBTEXT, or SYBIMAGE. */</span> <a name="l00918"></a>00918 <span class="preprocessor">#define SYBEBCSA 20108 </span><span class="comment">/* The BCP hostfile '%s' contains only %ld rows. Skipping all of these rows is not allowed. */</span> <a name="l00919"></a>00919 <span class="preprocessor">#define SYBENULL 20109 </span><span class="comment">/* NULL DBPROCESS pointer passed to DB-Library. */</span> <a name="l00920"></a>00920 <span class="preprocessor">#define SYBEUNAM 20110 </span><span class="comment">/* Unable to get current username from operating system. */</span> <a name="l00921"></a>00921 <span class="preprocessor">#define SYBEBCRO 20111 </span><span class="comment">/* The BCP hostfile '%s' contains only %ld rows. It was impossible to read the requested %ld rows. */</span> <a name="l00922"></a>00922 <span class="preprocessor">#define SYBEMPLL 20112 </span><span class="comment">/* Attempt to set maximum number of DBPROCESSes lower than 1. */</span> <a name="l00923"></a>00923 <span class="preprocessor">#define SYBERPIL 20113 </span><span class="comment">/* It is illegal to pass -1 to dbrpcparam() for the datalen of parameters which are of type SYBCHAR, SYBVARCHAR, SYBBINARY, or SYBVARBINARY. */</span> <a name="l00924"></a>00924 <span class="preprocessor">#define SYBERPUL 20114 </span><span class="comment">/* When passing a SYBINTN, SYBDATETIMN, SYBMONEYN, or SYBFLTN parameter via dbrpcparam(), it's necessary to specify the parameter's maximum or actual length, so that DB-Library can recognize it as a SYBINT1, SYBINT2, SYBINT4, SYBMONEY, or SYBMONEY4, etc. */</span> <a name="l00925"></a>00925 <span class="preprocessor">#define SYBEUNOP 20115 </span><span class="comment">/* Unknown option passed to dbsetopt(). */</span> <a name="l00926"></a>00926 <span class="preprocessor">#define SYBECRNC 20116 </span><span class="comment">/* The current row is not a result of compute clause %d, so it is illegal to attempt to extract that data from this row. */</span> <a name="l00927"></a>00927 <span class="preprocessor">#define SYBERTCC 20117 </span><span class="comment">/* dbreadtext() may not be used to receive the results of a query which contains a COMPUTE clause. */</span> <a name="l00928"></a>00928 <span class="preprocessor">#define SYBERTSC 20118 </span><span class="comment">/* dbreadtext() may only be used to receive the results of a query which contains a single result column. */</span> <a name="l00929"></a>00929 <span class="preprocessor">#define SYBEUCRR 20119 </span><span class="comment">/* Internal software error: Unknown connection result reported by * dbpasswd(). */</span> <a name="l00930"></a>00930 <span class="preprocessor">#define SYBERPNA 20120 </span><span class="comment">/* The RPC facility is available only when using a SQL Server whose version number is 4.0 or greater. */</span> <a name="l00931"></a>00931 <span class="preprocessor">#define SYBEOPNA 20121 </span><span class="comment">/* The text/image facility is available only when using a SQL Server whose version number is 4.0 or greater. */</span> <a name="l00932"></a>00932 <span class="preprocessor">#define SYBEFGTL 20122 </span><span class="comment">/* Bcp: Row number of the first row to be copied cannot be greater than the row number for the last row to be copied. */</span> <a name="l00933"></a>00933 <span class="preprocessor">#define SYBECWLL 20123 </span><span class="comment">/* Attempt to set column width less than 1. */</span> <a name="l00934"></a>00934 <span class="preprocessor">#define SYBEUFDS 20124 </span><span class="comment">/* Unrecognized format encountered in dbstrbuild(). */</span> <a name="l00935"></a>00935 <span class="preprocessor">#define SYBEUCPT 20125 </span><span class="comment">/* Unrecognized custom-format parameter-type encountered in dbstrbuild(). */</span> <a name="l00936"></a>00936 <span class="preprocessor">#define SYBETMCF 20126 </span><span class="comment">/* Attempt to install too many custom formats via dbfmtinstall(). */</span> <a name="l00937"></a>00937 <span class="preprocessor">#define SYBEAICF 20127 </span><span class="comment">/* Error in attempting to install custom format. */</span> <a name="l00938"></a>00938 <span class="preprocessor">#define SYBEADST 20128 </span><span class="comment">/* Error in attempting to determine the size of a pair of translation tables. */</span> <a name="l00939"></a>00939 <span class="preprocessor">#define SYBEALTT 20129 </span><span class="comment">/* Error in attempting to load a pair of translation tables. */</span> <a name="l00940"></a>00940 <span class="preprocessor">#define SYBEAPCT 20130 </span><span class="comment">/* Error in attempting to perform a character-set translation. */</span> <a name="l00941"></a>00941 <span class="preprocessor">#define SYBEXOCI 20131 </span><span class="comment">/* A character-set translation overflowed its destination buffer while using bcp to copy data from a host-file to the SQL Server. */</span> <a name="l00942"></a>00942 <span class="preprocessor">#define SYBEFSHD 20132 </span><span class="comment">/* Error in attempting to find the Sybase home directory. */</span> <a name="l00943"></a>00943 <span class="preprocessor">#define SYBEAOLF 20133 </span><span class="comment">/* Error in attempting to open a localization file. */</span> <a name="l00944"></a>00944 <span class="preprocessor">#define SYBEARDI 20134 </span><span class="comment">/* Error in attempting to read datetime information from a localization file. */</span> <a name="l00945"></a>00945 <span class="preprocessor">#define SYBEURCI 20135 </span><span class="comment">/* Unable to read copyright information from the dblib localization file. */</span> <a name="l00946"></a>00946 <span class="preprocessor">#define SYBEARDL 20136 </span><span class="comment">/* Error in attempting to read the dblib.loc localization file. */</span> <a name="l00947"></a>00947 <span class="preprocessor">#define SYBEURMI 20137 </span><span class="comment">/* Unable to read money-format information from the dblib localization file. */</span> <a name="l00948"></a>00948 <span class="preprocessor">#define SYBEUREM 20138 </span><span class="comment">/* Unable to read error mnemonic from the dblib localization file. */</span> <a name="l00949"></a>00949 <span class="preprocessor">#define SYBEURES 20139 </span><span class="comment">/* Unable to read error string from the dblib localization file. */</span> <a name="l00950"></a>00950 <span class="preprocessor">#define SYBEUREI 20140 </span><span class="comment">/* Unable to read error information from the dblib localization file. */</span> <a name="l00951"></a>00951 <span class="preprocessor">#define SYBEOREN 20141 </span><span class="comment">/* Warning: an out-of-range error-number was encountered in dblib.loc. The maximum permissible error-number is defined as DBERRCOUNT in sybdb.h. */</span> <a name="l00952"></a>00952 <span class="preprocessor">#define SYBEISOI 20142 </span><span class="comment">/* Invalid sort-order information found. */</span> <a name="l00953"></a>00953 <span class="preprocessor">#define SYBEIDCL 20143 </span><span class="comment">/* Illegal datetime column length returned by DataServer. Legal datetime lengths are 4 and 8 bytes. */</span> <a name="l00954"></a>00954 <span class="preprocessor">#define SYBEIMCL 20144 </span><span class="comment">/* Illegal money column length returned by DataServer. Legal money lengths are 4 and 8 bytes. */</span> <a name="l00955"></a>00955 <span class="preprocessor">#define SYBEIFCL 20145 </span><span class="comment">/* Illegal floating-point column length returned by DataServer. Legal floating-point lengths are 4 and 8 bytes. */</span> <a name="l00956"></a>00956 <span class="preprocessor">#define SYBEUTDS 20146 </span><span class="comment">/* Unrecognized TDS version received from SQL Server. */</span> <a name="l00957"></a>00957 <span class="preprocessor">#define SYBEBUFF 20147 </span><span class="comment">/* Bcp: Unable to create format-file. */</span> <a name="l00958"></a>00958 <span class="preprocessor">#define SYBEACNV 20148 </span><span class="comment">/* Attemp to do conversion with NULL destination variable. */</span> <a name="l00959"></a>00959 <span class="preprocessor">#define SYBEDPOR 20149 </span><span class="comment">/* Out-of-range datepart constant. */</span> <a name="l00960"></a>00960 <span class="preprocessor">#define SYBENDC 20150 </span><span class="comment">/* Cannot have negative component in date in numeric form. */</span> <a name="l00961"></a>00961 <span class="preprocessor">#define SYBEMVOR 20151 </span><span class="comment">/* Month values must be between 1 and 12. */</span> <a name="l00962"></a>00962 <span class="preprocessor">#define SYBEDVOR 20152 </span><span class="comment">/* Day values must be between 1 and 7. */</span> <a name="l00963"></a>00963 <span class="preprocessor">#define SYBENBVP 20153 </span><span class="comment">/* Cannot pass dbsetnull() a NULL bindval pointer. */</span> <a name="l00964"></a>00964 <span class="preprocessor">#define SYBESPID 20154 </span><span class="comment">/* Called dbspid() with a NULL dbproc. */</span> <a name="l00965"></a>00965 <span class="preprocessor">#define SYBENDTP 20155 </span><span class="comment">/* Called dbdatecrack() with a NULL datetime parameter. */</span> <a name="l00966"></a>00966 <span class="preprocessor">#define SYBEXTN 20156 </span><span class="comment">/* The xlt_todisp and xlt_tosrv parameters to dbfree_xlate() were NULL. */</span> <a name="l00967"></a>00967 <span class="preprocessor">#define SYBEXTDN 20157 </span><span class="comment">/* Warning: the xlt_todisp parameter to dbfree_xlate() was NULL. The space associated with the xlt_tosrv parameter has been freed. */</span> <a name="l00968"></a>00968 <span class="preprocessor">#define SYBEXTSN 20158 </span><span class="comment">/* Warning: the xlt_tosrv parameter to dbfree_xlate() was NULL. The space associated with the xlt_todisp parameter has been freed. */</span> <a name="l00969"></a>00969 <span class="preprocessor">#define SYBENUM 20159 </span><span class="comment">/* Incorrect number of arguments given to DB-Library. */</span> <a name="l00970"></a>00970 <span class="preprocessor">#define SYBETYPE 20160 </span><span class="comment">/* Invalid argument type given to DB-Library. */</span> <a name="l00971"></a>00971 <span class="preprocessor">#define SYBEGENOS 20161 </span><span class="comment">/* General Operating System Error. */</span> <a name="l00972"></a>00972 <span class="preprocessor">#define SYBEPAGE 20162 </span><span class="comment">/* wrong resource type or length given for dbpage() operation. */</span> <a name="l00973"></a>00973 <span class="preprocessor">#define SYBEOPTNO 20163 </span><span class="comment">/* Option is not allowed or is unreconized */</span> <a name="l00974"></a>00974 <span class="preprocessor">#define SYBEETD 20164 </span><span class="comment">/* Failure to send the expected amount of TEXT or IMAGE data via dbmoretext(). */</span> <a name="l00975"></a>00975 <span class="preprocessor">#define SYBERTYPE 20165 </span><span class="comment">/* Invalid resource type given to DB-Library. */</span> <a name="l00976"></a>00976 <span class="preprocessor">#define SYBERFILE 20166 </span><span class="comment">/* "Can not open resource file." */</span> <a name="l00977"></a>00977 <span class="preprocessor">#define SYBEFMODE 20167 </span><span class="comment">/* Read/Write/Append mode denied on file. */</span> <a name="l00978"></a>00978 <span class="preprocessor">#define SYBESLCT 20168 </span><span class="comment">/* Could not select or copy field specified */</span> <a name="l00979"></a>00979 <span class="preprocessor">#define SYBEZTXT 20169 </span><span class="comment">/* Attempt to send zero length TEXT or IMAGE to dataserver via dbwritetext(). */</span> <a name="l00980"></a>00980 <span class="preprocessor">#define SYBENTST 20170 </span><span class="comment">/* The file being opened must be a stream_lf. */</span> <a name="l00981"></a>00981 <span class="preprocessor">#define SYBEOSSL 20171 </span><span class="comment">/* Operating system login level not in range of Secure SQL Server */</span> <a name="l00982"></a>00982 <span class="preprocessor">#define SYBEESSL 20172 </span><span class="comment">/* Login security level entered does not agree with operating system level */</span> <a name="l00983"></a>00983 <span class="preprocessor">#define SYBENLNL 20173 </span><span class="comment">/* Program not linked with specified network library. */</span> <a name="l00984"></a>00984 <span class="preprocessor">#define SYBENHAN 20174 </span><span class="comment">/* called dbrecvpassthru() with a NULL handler parameter. */</span> <a name="l00985"></a>00985 <span class="preprocessor">#define SYBENBUF 20175 </span><span class="comment">/* called dbsendpassthru() with a NULL buf pointer. */</span> <a name="l00986"></a>00986 <span class="preprocessor">#define SYBENULP 20176 </span><span class="comment">/* Called %s with a NULL %s parameter. */</span> <a name="l00987"></a>00987 <span class="preprocessor">#define SYBENOTI 20177 </span><span class="comment">/* No event handler installed. */</span> <a name="l00988"></a>00988 <span class="preprocessor">#define SYBEEVOP 20178 </span><span class="comment">/* Called dbregwatch() with a bad options parameter. */</span> <a name="l00989"></a>00989 <span class="preprocessor">#define SYBENEHA 20179 </span><span class="comment">/* Called dbreghandle() with a NULL handler parameter. */</span> <a name="l00990"></a>00990 <span class="preprocessor">#define SYBETRAN 20180 </span><span class="comment">/* DBPROCESS is being used for another transaction. */</span> <a name="l00991"></a>00991 <span class="preprocessor">#define SYBEEVST 20181 </span><span class="comment">/* Must initiate a transaction before calling dbregparam(). */</span> <a name="l00992"></a>00992 <span class="preprocessor">#define SYBEEINI 20182 </span><span class="comment">/* Must call dbreginit() before dbregraise(). */</span> <a name="l00993"></a>00993 <span class="preprocessor">#define SYBEECRT 20183 </span><span class="comment">/* Must call dbregdefine() before dbregcreate(). */</span> <a name="l00994"></a>00994 <span class="preprocessor">#define SYBEECAN 20184 </span><span class="comment">/* Attempted to cancel unrequested event notification. */</span> <a name="l00995"></a>00995 <span class="preprocessor">#define SYBEEUNR 20185 </span><span class="comment">/* Unsolicited event notification received. */</span> <a name="l00996"></a>00996 <span class="preprocessor">#define SYBERPCS 20186 </span><span class="comment">/* Must call dbrpcinit() before dbrpcparam(). */</span> <a name="l00997"></a>00997 <span class="preprocessor">#define SYBETPAR 20187 </span><span class="comment">/* No SYBTEXT or SYBIMAGE parameters were defined. */</span> <a name="l00998"></a>00998 <span class="preprocessor">#define SYBETEXS 20188 </span><span class="comment">/* Called dbmoretext() with a bad size parameter. */</span> <a name="l00999"></a>00999 <span class="preprocessor">#define SYBETRAC 20189 </span><span class="comment">/* Attempted to turn off a trace flag that was not on. */</span> <a name="l01000"></a>01000 <span class="preprocessor">#define SYBETRAS 20190 </span><span class="comment">/* DB-Library internal error - trace structure not found. */</span> <a name="l01001"></a>01001 <span class="preprocessor">#define SYBEPRTF 20191 </span><span class="comment">/* dbtracestring() may only be called from a printfunc(). */</span> <a name="l01002"></a>01002 <span class="preprocessor">#define SYBETRSN 20192 </span><span class="comment">/* Bad numbytes parameter passed to dbtracestring(). */</span> <a name="l01003"></a>01003 <span class="preprocessor">#define SYBEBPKS 20193 </span><span class="comment">/* In DBSETLPACKET(), the packet size parameter must be between 0 and 999999. */</span> <a name="l01004"></a>01004 <span class="preprocessor">#define SYBEIPV 20194 </span><span class="comment">/* %1! is an illegal value for the %2! parameter of %3!. */</span> <a name="l01005"></a>01005 <span class="preprocessor">#define SYBEMOV 20195 </span><span class="comment">/* Money arithmetic resulted in overflow in function %1!. */</span> <a name="l01006"></a>01006 <span class="preprocessor">#define SYBEDIVZ 20196 </span><span class="comment">/* Attempt to divide by $0.00 in function %1!. */</span> <a name="l01007"></a>01007 <span class="preprocessor">#define SYBEASTL 20197 </span><span class="comment">/* Synchronous I/O attempted at AST level. */</span> <a name="l01008"></a>01008 <span class="preprocessor">#define SYBESEFA 20198 </span><span class="comment">/* DBSETNOTIFS cannot be called if connections are present. */</span> <a name="l01009"></a>01009 <span class="preprocessor">#define SYBEPOLL 20199 </span><span class="comment">/* Only one dbpoll() can be active at a time. */</span> <a name="l01010"></a>01010 <span class="preprocessor">#define SYBENOEV 20200 </span><span class="comment">/* dbpoll() cannot be called if registered procedure notifications have been disabled. */</span> <a name="l01011"></a>01011 <span class="preprocessor">#define SYBEBADPK 20201 </span><span class="comment">/* Packet size of %1! not supported. -- size of %2! used instead. */</span> <a name="l01012"></a>01012 <span class="preprocessor">#define SYBESECURE 20202 </span><span class="comment">/* Secure Server function not supported in this version. */</span> <a name="l01013"></a>01013 <span class="preprocessor">#define SYBECAP 20203 </span><span class="comment">/* DB-Library capabilities not accepted by the Server. */</span> <a name="l01014"></a>01014 <span class="preprocessor">#define SYBEFUNC 20204 </span><span class="comment">/* Functionality not supported at the specified version level. */</span> <a name="l01015"></a>01015 <span class="preprocessor">#define SYBERESP 20205 </span><span class="comment">/* Response function address passed to dbresponse() must be non-NULL. */</span> <a name="l01016"></a>01016 <span class="preprocessor">#define SYBEIVERS 20206 </span><span class="comment">/* Illegal version level specified. */</span> <a name="l01017"></a>01017 <span class="preprocessor">#define SYBEONCE 20207 </span><span class="comment">/* Function can be called only once. */</span> <a name="l01018"></a>01018 <span class="preprocessor">#define SYBERPNULL 20208 </span><span class="comment">/* value parameter for dbprcparam() can be NULL, only if the datalen parameter is 0 */</span> <a name="l01019"></a>01019 <span class="preprocessor">#define SYBERPTXTIM 20209 </span><span class="comment">/* RPC parameters cannot be of type Text/Image. */</span> <a name="l01020"></a>01020 <span class="preprocessor">#define SYBENEG 20210 </span><span class="comment">/* Negotiated login attempt failed. */</span> <a name="l01021"></a>01021 <span class="preprocessor">#define SYBELBLEN 20211 </span><span class="comment">/* Security labels should be less than 256 characters long. */</span> <a name="l01022"></a>01022 <span class="preprocessor">#define SYBEUMSG 20212 </span><span class="comment">/* Unknown message-id in MSG datastream. */</span> <a name="l01023"></a>01023 <span class="preprocessor">#define SYBECAPTYP 20213 </span><span class="comment">/* Unexpected capability type in CAPABILITY datastream. */</span> <a name="l01024"></a>01024 <span class="preprocessor">#define SYBEBNUM 20214 </span><span class="comment">/* Bad numbytes parameter passed to dbstrcpy() */</span> <a name="l01025"></a>01025 <span class="preprocessor">#define SYBEBBL 20215 </span><span class="comment">/* Bad bindlen parameter passed to dbsetnull() */</span> <a name="l01026"></a>01026 <span class="preprocessor">#define SYBEBPREC 20216 </span><span class="comment">/* Illegal precision specified */</span> <a name="l01027"></a>01027 <span class="preprocessor">#define SYBEBSCALE 20217 </span><span class="comment">/* Illegal scale specified */</span> <a name="l01028"></a>01028 <span class="preprocessor">#define SYBECDOMAIN 20218 </span><span class="comment">/* Source field value is not within the domain of legal values. */</span> <a name="l01029"></a>01029 <span class="preprocessor">#define SYBECINTERNAL 20219 </span><span class="comment">/* Internal Conversion error. */</span> <a name="l01030"></a>01030 <span class="preprocessor">#define SYBEBTYPSRV 20220 </span><span class="comment">/* Datatype is not supported by the server. */</span> <a name="l01031"></a>01031 <span class="preprocessor">#define SYBEBCSET 20221 </span><span class="comment">/* Unknown character-set encountered." */</span> <a name="l01032"></a>01032 <span class="preprocessor">#define SYBEFENC 20222 </span><span class="comment">/* Password Encryption failed." */</span> <a name="l01033"></a>01033 <span class="preprocessor">#define SYBEFRES 20223 </span><span class="comment">/* Challenge-Response function failed.", */</span> <a name="l01034"></a>01034 <span class="preprocessor">#define SYBEISRVPREC 20224 </span><span class="comment">/* Illegal precision value returned by the server. */</span> <a name="l01035"></a>01035 <span class="preprocessor">#define SYBEISRVSCL 20225 </span><span class="comment">/* Illegal scale value returned by the server. */</span> <a name="l01036"></a>01036 <span class="preprocessor">#define SYBEINUMCL 20226 </span><span class="comment">/* Invalid numeric column length returned by the server. */</span> <a name="l01037"></a>01037 <span class="preprocessor">#define SYBEIDECCL 20227 </span><span class="comment">/* Invalid decimal column length returned by the server. */</span> <a name="l01038"></a>01038 <span class="preprocessor">#define SYBEBCMTXT 20228 </span><span class="comment">/* bcp_moretext() may be used only when there is at least one text or image column in the server table. */</span> <a name="l01039"></a>01039 <span class="preprocessor">#define SYBEBCPREC 20229 </span><span class="comment">/* Column %1!: Illegal precision value encountered. */</span> <a name="l01040"></a>01040 <span class="preprocessor">#define SYBEBCBNPR 20230 </span><span class="comment">/* bcp_bind(): if varaddr is NULL, prefixlen must be 0 and no terminator should be specified. */</span> <a name="l01041"></a>01041 <span class="preprocessor">#define SYBEBCBNTYP 20231 </span><span class="comment">/* bcp_bind(): if varaddr is NULL and varlen greater than 0, the table column type must be SYBTEXT or SYBIMAGE and the program variable type must be SYBTEXT, SYBCHAR, SYBIMAGE or SYBBINARY. */</span> <a name="l01042"></a>01042 <span class="preprocessor">#define SYBEBCSNTYP 20232 </span><span class="comment">/* column number %1!: if varaddr is NULL and varlen greater than 0, the table column type must be SYBTEXT or SYBIMAGE and the program variable type must be SYBTEXT, SYBCHAR, SYBIMAGE or SYBBINARY. */</span> <a name="l01043"></a>01043 <span class="preprocessor">#define SYBEBCPCTYP 20233 </span><span class="comment">/* bcp_colfmt(): If table_colnum is 0, host_type cannot be 0. */</span> <a name="l01044"></a>01044 <span class="preprocessor">#define SYBEBCVLEN 20234 </span><span class="comment">/* varlen should be greater than or equal to -1. */</span> <a name="l01045"></a>01045 <span class="preprocessor">#define SYBEBCHLEN 20235 </span><span class="comment">/* host_collen should be greater than or equal to -1. */</span> <a name="l01046"></a>01046 <span class="preprocessor">#define SYBEBCBPREF 20236 </span><span class="comment">/* Illegal prefix length. Legal values are 0, 1, 2 or 4. */</span> <a name="l01047"></a>01047 <span class="preprocessor">#define SYBEBCPREF 20237 </span><span class="comment">/* Illegal prefix length. Legal values are -1, 0, 1, 2 or 4. */</span> <a name="l01048"></a>01048 <span class="preprocessor">#define SYBEBCITBNM 20238 </span><span class="comment">/* bcp_init(): tblname parameter cannot be NULL. */</span> <a name="l01049"></a>01049 <span class="preprocessor">#define SYBEBCITBLEN 20239 </span><span class="comment">/* bcp_init(): tblname parameter is too long. */</span> <a name="l01050"></a>01050 <span class="preprocessor">#define SYBEBCSNDROW 20240 </span><span class="comment">/* bcp_sendrow() may NOT be called unless all text data for the previous row has been sent using bcp_moretext(). */</span> <a name="l01051"></a>01051 <span class="preprocessor">#define SYBEBPROCOL 20241 </span><span class="comment">/* bcp protocol error: returned column count differs from the actual number of columns received. */</span> <a name="l01052"></a>01052 <span class="preprocessor">#define SYBEBPRODEF 20242 </span><span class="comment">/* bcp protocol error: expected default information and got none. */</span> <a name="l01053"></a>01053 <span class="preprocessor">#define SYBEBPRONUMDEF 20243 </span><span class="comment">/* bcp protocol error: expected number of defaults differs from the actual number of defaults received. */</span> <a name="l01054"></a>01054 <span class="preprocessor">#define SYBEBPRODEFID 20244 </span><span class="comment">/* bcp protocol error: default column id and actual column id are not same */</span> <a name="l01055"></a>01055 <span class="preprocessor">#define SYBEBPRONODEF 20245 </span><span class="comment">/* bcp protocol error: default value received for column that does not have default. */</span> <a name="l01056"></a>01056 <span class="preprocessor">#define SYBEBPRODEFTYP 20246 </span><span class="comment">/* bcp protocol error: default value datatype differs from column datatype. */</span> <a name="l01057"></a>01057 <span class="preprocessor">#define SYBEBPROEXTDEF 20247 </span><span class="comment">/* bcp protocol error: more than one row of default information received. */</span> <a name="l01058"></a>01058 <span class="preprocessor">#define SYBEBPROEXTRES 20248 </span><span class="comment">/* bcp protocol error: unexpected set of results received. */</span> <a name="l01059"></a>01059 <span class="preprocessor">#define SYBEBPROBADDEF 20249 </span><span class="comment">/* bcp protocol error: illegal default column id received. */</span> <a name="l01060"></a>01060 <span class="preprocessor">#define SYBEBPROBADTYP 20250 </span><span class="comment">/* bcp protocol error: unknown column datatype. */</span> <a name="l01061"></a>01061 <span class="preprocessor">#define SYBEBPROBADLEN 20251 </span><span class="comment">/* bcp protocol error: illegal datatype length received. */</span> <a name="l01062"></a>01062 <span class="preprocessor">#define SYBEBPROBADPREC 20252 </span><span class="comment">/* bcp protocol error: illegal precision value received. */</span> <a name="l01063"></a>01063 <span class="preprocessor">#define SYBEBPROBADSCL 20253 </span><span class="comment">/* bcp protocol error: illegal scale value received. */</span> <a name="l01064"></a>01064 <span class="preprocessor">#define SYBEBADTYPE 20254 </span><span class="comment">/* Illegal value for type parameter given to %1!. */</span> <a name="l01065"></a>01065 <span class="preprocessor">#define SYBECRSNORES 20255 </span><span class="comment">/* Cursor statement generated no results. */</span> <a name="l01066"></a>01066 <span class="preprocessor">#define SYBECRSNOIND 20256 </span><span class="comment">/* One of the tables involved in the cursor statement does not have a unique index. */</span> <a name="l01067"></a>01067 <span class="preprocessor">#define SYBECRSVIEW 20257 </span><span class="comment">/* A view cannot be joined with another table or a view in a cursor statement. */</span> <a name="l01068"></a>01068 <span class="preprocessor">#define SYBECRSVIIND 20258 </span><span class="comment">/* The view used in the cursor statement does not include all the unique index columns of the underlying tables. */</span> <a name="l01069"></a>01069 <span class="preprocessor">#define SYBECRSORD 20259 </span><span class="comment">/* Only fully keyset driven cursors can have 'order by', ' group by', or 'having' phrases. */</span> <a name="l01070"></a>01070 <span class="preprocessor">#define SYBECRSBUFR 20260 </span><span class="comment">/* Row buffering should not be turned on when using cursor APIs. */</span> <a name="l01071"></a>01071 <span class="preprocessor">#define SYBECRSNOFREE 20261 </span><span class="comment">/* The DBNOAUTOFREE option should not be turned on when using cursor APIs. */</span> <a name="l01072"></a>01072 <span class="preprocessor">#define SYBECRSDIS 20262 </span><span class="comment">/* Cursor statement contains one of the disallowed phrases 'compute', 'union', 'for browse', or 'select into'. */</span> <a name="l01073"></a>01073 <span class="preprocessor">#define SYBECRSAGR 20263 </span><span class="comment">/* Aggregate functions are not allowed in a cursor statement. */</span> <a name="l01074"></a>01074 <span class="preprocessor">#define SYBECRSFRAND 20264 </span><span class="comment">/* Fetch types RANDOM and RELATIVE can only be used within the keyset of keyset driven cursors. */</span> <a name="l01075"></a>01075 <span class="preprocessor">#define SYBECRSFLAST 20265 </span><span class="comment">/* Fetch type LAST requires fully keyset driven cursors. */</span> <a name="l01076"></a>01076 <span class="preprocessor">#define SYBECRSBROL 20266 </span><span class="comment">/* Backward scrolling cannot be used in a forward scrolling cursor. */</span> <a name="l01077"></a>01077 <span class="preprocessor">#define SYBECRSFROWN 20267 </span><span class="comment">/* Row number to be fetched is outside valid range. */</span> <a name="l01078"></a>01078 <span class="preprocessor">#define SYBECRSBSKEY 20268 </span><span class="comment">/* Keyset cannot be scrolled backward in mixed cursors with a previous fetch type. */</span> <a name="l01079"></a>01079 <span class="preprocessor">#define SYBECRSRO 20269 </span><span class="comment">/* Data locking or modifications cannot be made in a READONLY cursor. */</span> <a name="l01080"></a>01080 <span class="preprocessor">#define SYBECRSNOCOUNT 20270 </span><span class="comment">/* The DBNOCOUNT option should not be turned on when doing updates or deletes with dbcursor(). */</span> <a name="l01081"></a>01081 <span class="preprocessor">#define SYBECRSTAB 20271 </span><span class="comment">/* Table name must be determined in operations involving data locking or modifications. */</span> <a name="l01082"></a>01082 <span class="preprocessor">#define SYBECRSUPDNB 20272 </span><span class="comment">/* Update or insert operations cannot use bind variables when binding type is NOBIND. */</span> <a name="l01083"></a>01083 <span class="preprocessor">#define SYBECRSNOWHERE 20273 </span><span class="comment">/* A WHERE clause is not allowed in a cursor update or insert. */</span> <a name="l01084"></a>01084 <span class="preprocessor">#define SYBECRSSET 20274 </span><span class="comment">/* A SET clause is required for a cursor update or insert. */</span> <a name="l01085"></a>01085 <span class="preprocessor">#define SYBECRSUPDTAB 20275 </span><span class="comment">/* Update or insert operations using bind variables require single table cursors. */</span> <a name="l01086"></a>01086 <span class="preprocessor">#define SYBECRSNOUPD 20276 </span><span class="comment">/* Update or delete operation did not affect any rows. */</span> <a name="l01087"></a>01087 <span class="preprocessor">#define SYBECRSINV 20277 </span><span class="comment">/* Invalid cursor statement. */</span> <a name="l01088"></a>01088 <span class="preprocessor">#define SYBECRSNOKEYS 20278 </span><span class="comment">/* The entire keyset must be defined for KEYSET cursors. */</span> <a name="l01089"></a>01089 <span class="preprocessor">#define SYBECRSNOBIND 20279 </span><span class="comment">/* Cursor bind must be called prior to updating cursor */</span> <a name="l01090"></a>01090 <span class="preprocessor">#define SYBECRSFTYPE 20280 </span><span class="comment">/* Unknown fetch type. */</span> <a name="l01091"></a>01091 <span class="preprocessor">#define SYBECRSINVALID 20281 </span><span class="comment">/* The cursor handle is invalid. */</span> <a name="l01092"></a>01092 <span class="preprocessor">#define SYBECRSMROWS 20282 </span><span class="comment">/* Multiple rows are returned, only one is expected. */</span> <a name="l01093"></a>01093 <span class="preprocessor">#define SYBECRSNROWS 20283 </span><span class="comment">/* No rows returned, at least one is expected. */</span> <a name="l01094"></a>01094 <span class="preprocessor">#define SYBECRSNOLEN 20284 </span><span class="comment">/* No unique index found. */</span> <a name="l01095"></a>01095 <span class="preprocessor">#define SYBECRSNOPTCC 20285 </span><span class="comment">/* No OPTCC was found. */</span> <a name="l01096"></a>01096 <span class="preprocessor">#define SYBECRSNORDER 20286 </span><span class="comment">/* The order of clauses must be from, where, and order by. */</span> <a name="l01097"></a>01097 <span class="preprocessor">#define SYBECRSNOTABLE 20287 </span><span class="comment">/* Table name is NULL. */</span> <a name="l01098"></a>01098 <span class="preprocessor">#define SYBECRSNUNIQUE 20288 </span><span class="comment">/* No unique keys associated with this view. */</span> <a name="l01099"></a>01099 <span class="preprocessor">#define SYBECRSVAR 20289 </span><span class="comment">/* There is no valid address associated with this bind. */</span> <a name="l01100"></a>01100 <span class="preprocessor">#define SYBENOVALUE 20290 </span><span class="comment">/* Security labels require both a name and a value */</span> <a name="l01101"></a>01101 <span class="preprocessor">#define SYBEVOIDRET 20291 </span><span class="comment">/* Parameter of type SYBVOID cannot be a return parameter. */</span> <a name="l01102"></a>01102 <span class="preprocessor">#define SYBECLOSEIN 20292 </span><span class="comment">/* Unable to close interface file. */</span> <a name="l01103"></a>01103 <span class="preprocessor">#define SYBEBOOL 20293 </span><span class="comment">/* Boolean parameters must be TRUE or FALSE. */</span> <a name="l01104"></a>01104 <span class="preprocessor">#define SYBEBCPOPT 20294 </span><span class="comment">/* The option cannot be called while a bulk copy operation is progress. */</span> <a name="l01105"></a>01105 <span class="preprocessor">#define SYBEERRLABEL 20295 </span><span class="comment">/* An illegal value was returned from the security label handler. */</span> <a name="l01106"></a>01106 <span class="preprocessor">#define SYBEATTNACK 20296 </span><span class="comment">/* Timed out waiting for server to acknowledge attention." */</span> <a name="l01107"></a>01107 <span class="preprocessor">#define SYBEBBFL 20297 </span><span class="comment">/* -001- Batch failed in bulk-copy to SQL Server */</span> <a name="l01108"></a>01108 <span class="preprocessor">#define SYBEDCL 20298 </span><span class="comment">/* -004- DCL Error */</span> <a name="l01109"></a>01109 <span class="preprocessor">#define SYBECS 20299 </span><span class="comment">/* -004- cs context Error */</span> <a name="l01110"></a>01110 <span class="preprocessor">#define SYBEBULKINSERT 20599 </span><span class="comment">/* cannot build bulk insert statement */</span> <a name="l01111"></a>01111 <a name="l01112"></a>01112 <span class="keywordtype">int</span> <a class="code" href="a00292.html#ga8d765d810a40dfa01b39995a8e7406f0" title="Get the TDS version in use for dbproc.">dbtds</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l01113"></a>01113 <a name="l01114"></a><a class="code" href="a00286.html#ga1644cf55d37435711df65c12a3f7b785">01114</a> <span class="preprocessor">#define DBTDS(a) dbtds(a)</span> <a name="l01115"></a>01115 <span class="preprocessor"></span>DBINT dbtextsize(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l01116"></a>01116 DBBINARY *<a class="code" href="a00286.html#ga57e4098b153a030f0be02bcd98e08ba2" title="Get text pointer for a column in the current row.">dbtxptr</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> column); <a name="l01117"></a>01117 DBBINARY *<a class="code" href="a00286.html#gac3f11142ec7ff25b1f8972af10fe9454" title="Get text timestamp for a column in the current row.">dbtxtimestamp</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> column); <a name="l01118"></a>01118 DBBINARY *dbtxtsnewval(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess); <a name="l01119"></a>01119 RETCODE dbtxtsput(<a class="code" href="a00098.html">DBPROCESS</a> * dbprocess, DBBINARY newtxts, <span class="keywordtype">int</span> colnum); <a name="l01120"></a>01120 RETCODE <a class="code" href="a00286.html#ga66ea891910f0a357cc78107d6ab7d962" title="Change current database.">dbuse</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keyword">const</span> <span class="keywordtype">char</span> *name); <a name="l01121"></a>01121 <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="a00286.html#ga666726c86108342b1c1f27eecf68e13c" title="See which version of db-lib is in use.">dbversion</a>(<span class="keywordtype">void</span>); <a name="l01122"></a>01122 DBBOOL <a class="code" href="a00286.html#gaaf8349999c16b3c36caf5947747a2915" title="Test whether or not a datatype can be converted to another datatype.">dbwillconvert</a>(<span class="keywordtype">int</span> srctype, <span class="keywordtype">int</span> desttype); <a name="l01123"></a>01123 RETCODE <a class="code" href="a00286.html#ga548153eb2eae76c48aa9d4b72258dc1c" title="Send text or image data to the server.">dbwritetext</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">char</span> *objname, DBBINARY * textptr, DBTINYINT textptrlen, DBBINARY * timestamp, <a name="l01124"></a>01124 DBBOOL log, DBINT size, BYTE * text); <a name="l01125"></a>01125 <a name="l01126"></a>01126 <span class="comment">/* LOGINREC manipulation */</span> <a name="l01127"></a>01127 RETCODE <a class="code" href="a00292.html#gae1fc46447c4f8a9ff7f66607b8cd23b6" title="Set the value of a string in a LOGINREC structure.">dbsetlname</a>(<a class="code" href="a00070.html">LOGINREC</a> * login, <span class="keyword">const</span> <span class="keywordtype">char</span> *value, <span class="keywordtype">int</span> which); <a name="l01128"></a>01128 RETCODE <a class="code" href="a00292.html#ga03e850369aca6fba074da5e9da4effd7" title="Set a boolean value in a LOGINREC structure.">dbsetlbool</a>(<a class="code" href="a00070.html">LOGINREC</a> * login, <span class="keywordtype">int</span> value, <span class="keywordtype">int</span> which); <a name="l01129"></a>01129 RETCODE <a class="code" href="a00292.html#gabdcccf4e0d093ff48c0e7048a4bfaf84" title="Set an integer value in a LOGINREC structure.">dbsetllong</a>(<a class="code" href="a00070.html">LOGINREC</a> * login, <span class="keywordtype">long</span> value, <span class="keywordtype">int</span> which); <a name="l01130"></a>01130 RETCODE <a class="code" href="a00286.html#gaa22dce1ee0eb83059699c34c47d07c14" title="Set TDS version for future connections.">dbsetlversion</a> (<a class="code" href="a00070.html">LOGINREC</a> * login, BYTE version); <a name="l01131"></a>01131 <a name="l01132"></a>01132 <span class="preprocessor">#define DBSETHOST 1</span> <a name="l01133"></a><a class="code" href="a00285.html#gaef0e7a5fcf2d8c8f795b2b06ce4de8b1">01133</a> <span class="preprocessor"></span><span class="preprocessor">#define DBSETLHOST(x,y) dbsetlname((x), (y), DBSETHOST)</span> <a name="l01134"></a>01134 <span class="preprocessor"></span><span class="preprocessor">#define dbsetlhost(x,y) dbsetlname((x), (y), DBSETHOST)</span> <a name="l01135"></a>01135 <span class="preprocessor"></span><span class="preprocessor">#define DBSETUSER 2</span> <a name="l01136"></a><a class="code" href="a00285.html#gafbe7e48171d2f9b1d4f99e0bfdd98f5e">01136</a> <span class="preprocessor"></span><span class="preprocessor">#define DBSETLUSER(x,y) dbsetlname((x), (y), DBSETUSER)</span> <a name="l01137"></a>01137 <span class="preprocessor"></span><span class="preprocessor">#define dbsetluser(x,y) dbsetlname((x), (y), DBSETUSER)</span> <a name="l01138"></a>01138 <span class="preprocessor"></span><span class="preprocessor">#define DBSETPWD 3</span> <a name="l01139"></a><a class="code" href="a00285.html#ga61e04e8e2f0d7f1740d40634041f98eb">01139</a> <span class="preprocessor"></span><span class="preprocessor">#define DBSETLPWD(x,y) dbsetlname((x), (y), DBSETPWD)</span> <a name="l01140"></a>01140 <span class="preprocessor"></span><span class="preprocessor">#define dbsetlpwd(x,y) dbsetlname((x), (y), DBSETPWD)</span> <a name="l01141"></a>01141 <span class="preprocessor"></span><span class="preprocessor">#if defined(DBLIB_UNIMPLEMENTED)</span> <a name="l01142"></a>01142 <span class="preprocessor"></span><span class="preprocessor"># define DBSETHID 4 </span><span class="comment">/* not implemented */</span> <a name="l01143"></a>01143 <span class="preprocessor"># define DBSETLHID(x,y) dbsetlname((x), (y), DBSETHID)</span> <a name="l01144"></a>01144 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l01145"></a>01145 <span class="preprocessor"></span><span class="preprocessor">#define DBSETAPP 5</span> <a name="l01146"></a><a class="code" href="a00285.html#gab6c2da7fd615cf7462d555e5387a5580">01146</a> <span class="preprocessor"></span><span class="preprocessor">#define DBSETLAPP(x,y) dbsetlname((x), (y), DBSETAPP)</span> <a name="l01147"></a>01147 <span class="preprocessor"></span><span class="preprocessor">#define dbsetlapp(x,y) dbsetlname((x), (y), DBSETAPP)</span> <a name="l01148"></a>01148 <span class="preprocessor"></span><span class="preprocessor">#define DBSETBCP 6</span> <a name="l01149"></a><a class="code" href="a00285.html#ga5a626d228e82be0af8449d2b8c278241">01149</a> <span class="preprocessor"></span><span class="preprocessor">#define BCP_SETL(x,y) dbsetlbool((x), (y), DBSETBCP)</span> <a name="l01150"></a>01150 <span class="preprocessor"></span><span class="preprocessor">#define DBSETLSECURE(x) dbsetlbool((x), (1), DBSETBCP)</span> <a name="l01151"></a>01151 <span class="preprocessor"></span><span class="preprocessor">#define DBSETNATLANG 7 </span> <a name="l01152"></a><a class="code" href="a00286.html#gadada0e76c811a6fb84ce6759bcf116b5">01152</a> <span class="preprocessor"></span><span class="preprocessor">#define DBSETLNATLANG(x,y) dbsetlname((x), (y), DBSETNATLANG)</span> <a name="l01153"></a><a class="code" href="a00286.html#ga30e0028e6208414c2245e5fcd6740d9d">01153</a> <span class="preprocessor"></span><span class="preprocessor">#define dbsetlnatlang(x,y) dbsetlname((x), (y), DBSETNATLANG)</span> <a name="l01154"></a>01154 <span class="preprocessor"></span><span class="preprocessor">#if defined(DBLIB_UNIMPLEMENTED)</span> <a name="l01155"></a>01155 <span class="preprocessor"></span><span class="preprocessor"># define DBSETNOSHORT 8 </span><span class="comment">/* not implemented */</span> <a name="l01156"></a>01156 <span class="preprocessor"># define DBSETLNOSHORT(x,y) dbsetlbool((x), (y), DBSETNOSHORT)</span> <a name="l01157"></a>01157 <span class="preprocessor"></span><span class="preprocessor"># define DBSETHIER 9 </span><span class="comment">/* not implemented */</span> <a name="l01158"></a>01158 <span class="preprocessor"># define DBSETLHIER(x,y) dbsetlshort((x), (y), DBSETHIER)</span> <a name="l01159"></a>01159 <span class="preprocessor"></span><span class="preprocessor">#endif</span> <a name="l01160"></a>01160 <span class="preprocessor"></span><span class="preprocessor">#define DBSETCHARSET 10</span> <a name="l01161"></a><a class="code" href="a00286.html#ga316c0fd24b8dc1259ce9eb4d25016400">01161</a> <span class="preprocessor"></span><span class="preprocessor">#define DBSETLCHARSET(x,y) dbsetlname((x), (y), DBSETCHARSET)</span> <a name="l01162"></a>01162 <span class="preprocessor"></span><span class="preprocessor">#define DBSETPACKET 11</span> <a name="l01163"></a><a class="code" href="a00286.html#gae7e59f9c3cc0ec5916c06977ff7d8565">01163</a> <span class="preprocessor"></span><span class="preprocessor">#define DBSETLPACKET(x,y) dbsetllong((x), (y), DBSETPACKET)</span> <a name="l01164"></a><a class="code" href="a00286.html#ga0d0acc4ce2243e48023e022b50e2ac45">01164</a> <span class="preprocessor"></span><span class="preprocessor">#define dbsetlpacket(x,y) dbsetllong((x), (y), DBSETPACKET)</span> <a name="l01165"></a>01165 <span class="preprocessor"></span><span class="preprocessor">#define DBSETENCRYPT 12</span> <a name="l01166"></a><a class="code" href="a00286.html#gac51e3075197963557a8d2a37d82df921">01166</a> <span class="preprocessor"></span><span class="preprocessor">#define DBSETLENCRYPT(x,y) dbsetlbool((x), (y), DBSETENCRYPT)</span> <a name="l01167"></a>01167 <span class="preprocessor"></span><span class="preprocessor">#define DBSETLABELED 13</span> <a name="l01168"></a><a class="code" href="a00292.html#gae52fc525116a3491c7e1092ad8257767">01168</a> <span class="preprocessor"></span><span class="preprocessor">#define DBSETLLABELED(x,y) dbsetlbool((x), (y), DBSETLABELED)</span> <a name="l01169"></a>01169 <span class="preprocessor"></span><span class="preprocessor">#define BCP_SETLABELED(x,y) dbsetlbool((x), (y), DBSETLABELED)</span> <a name="l01170"></a>01170 <span class="preprocessor"></span><span class="preprocessor">#define DBSETDBNAME 14</span> <a name="l01171"></a>01171 <span class="preprocessor"></span><span class="preprocessor">#define DBSETLDBNAME(x,y) dbsetlname((x), (y), DBSETDBNAME)</span> <a name="l01172"></a><a class="code" href="a00292.html#ga7306859300823c120d807108a061c45a">01172</a> <span class="preprocessor"></span><span class="preprocessor">#define DBSETLVERSION(login, version) dbsetlversion((login), (version))</span> <a name="l01173"></a>01173 <span class="preprocessor"></span> <a name="l01174"></a>01174 RETCODE <a class="code" href="a00288.html#gada8e987c4a6225b9276c05ba3a4f47a0" title="Prepare for bulk copy operation on a table.">bcp_init</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keyword">const</span> <span class="keywordtype">char</span> *tblname, <span class="keyword">const</span> <span class="keywordtype">char</span> *hfile, <span class="keyword">const</span> <span class="keywordtype">char</span> *errfile, <span class="keywordtype">int</span> direction); <a name="l01175"></a>01175 RETCODE <a class="code" href="a00288.html#ga8b85f79f53a62ac7a728fe626d609b65" title="Conclude the transfer of data from program variables.">bcp_done</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l01176"></a>01176 <a name="l01177"></a>01177 RETCODE <a class="code" href="a00288.html#gaa23f8e5c7f437a94746c90292dd1cb01" title="Commit a set of rows to the table.">bcp_batch</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l01178"></a>01178 RETCODE <a class="code" href="a00288.html#gaf08c7f8e74ddf23b83800bc378821b35" title="Bind a program host variable to a database column.">bcp_bind</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, BYTE * varaddr, <span class="keywordtype">int</span> prefixlen, DBINT varlen, BYTE * terminator, <span class="keywordtype">int</span> termlen, <span class="keywordtype">int</span> type, <a name="l01179"></a>01179 <span class="keywordtype">int</span> table_column); <a name="l01180"></a>01180 RETCODE <a class="code" href="a00288.html#gae41d196a22c544d66212dacc5b555791" title="Set the length of a host variable to be written to a table.">bcp_collen</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, DBINT varlen, <span class="keywordtype">int</span> table_column); <a name="l01181"></a>01181 RETCODE <a class="code" href="a00288.html#ga330b9f1028f856a9eec5115550bcb4f7" title="Indicate how many columns are to be found in the datafile.">bcp_columns</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> host_colcount); <a name="l01182"></a>01182 RETCODE <a class="code" href="a00288.html#ga0ed03c69e698336d015bb315ad755fd5" title="Specify the format of a datafile prior to writing to a table.">bcp_colfmt</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> host_column, <span class="keywordtype">int</span> host_type, <span class="keywordtype">int</span> host_prefixlen, DBINT host_collen, <a name="l01183"></a>01183 <span class="keyword">const</span> BYTE * host_term, <span class="keywordtype">int</span> host_termlen, <span class="keywordtype">int</span> colnum); <a name="l01184"></a>01184 RETCODE <a class="code" href="a00288.html#gaf13b2bb12b4200752718f3a3face3870" title="Specify the format of a host file for bulk copy purposes, with precision and scale...">bcp_colfmt_ps</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> host_column, <span class="keywordtype">int</span> host_type, <span class="keywordtype">int</span> host_prefixlen, DBINT host_collen, <a name="l01185"></a>01185 BYTE * host_term, <span class="keywordtype">int</span> host_termlen, <span class="keywordtype">int</span> colnum, <a class="code" href="a00064.html">DBTYPEINFO</a> * typeinfo); <a name="l01186"></a>01186 RETCODE <a class="code" href="a00288.html#ga6498235e4ef8e41ea43b01494b28998d" title="Override bcp_bind() by pointing to a different host variable.">bcp_colptr</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, BYTE * colptr, <span class="keywordtype">int</span> table_column); <a name="l01187"></a>01187 RETCODE <a class="code" href="a00288.html#ga244547855b41788fa3a67756956fbc81" title="Set BCP options for uploading a datafile.">bcp_control</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> field, DBINT value); <a name="l01188"></a>01188 <span class="keywordtype">int</span> bcp_getbatchsize(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <span class="comment">/* FreeTDS only */</span> <a name="l01189"></a>01189 RETCODE <a class="code" href="a00288.html#ga7a184158b27a50f713e9cfae3b746209" title="Write a datafile to a table.">bcp_exec</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, DBINT * rows_copied); <a name="l01190"></a>01190 DBBOOL <a class="code" href="a00288.html#ga220f6b043602da1028f98dacb2fd00c0" title="See if BCP_SETL() was used to set the LOGINREC for BCP work.">bcp_getl</a>(<a class="code" href="a00070.html">LOGINREC</a> * login); <a name="l01191"></a>01191 RETCODE <a class="code" href="a00288.html#gafec3feb5bac1cb33545ba01efb0a67b8" title="Set &quot;hints&quot; for uploading a file.">bcp_options</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keywordtype">int</span> option, BYTE * value, <span class="keywordtype">int</span> valuelen); <a name="l01192"></a>01192 RETCODE <a class="code" href="a00288.html#ga963c5e38bca7668afc57f5cc123d10fb" title="Read a format definition file.">bcp_readfmt</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc, <span class="keyword">const</span> <span class="keywordtype">char</span> filename[]); <a name="l01193"></a>01193 RETCODE <a class="code" href="a00288.html#gaf1130ac97f6af55e86ec70b0aa4f5b40" title="Write data in host variables to the table.">bcp_sendrow</a>(<a class="code" href="a00098.html">DBPROCESS</a> * dbproc); <a name="l01194"></a>01194 <a name="l01195"></a>01195 <span class="preprocessor">#ifdef __cplusplus</span> <a name="l01196"></a>01196 <span class="preprocessor"></span><span class="preprocessor">#if 0</span> <a name="l01197"></a>01197 <span class="preprocessor"></span>{ <a name="l01198"></a>01198 <span class="preprocessor">#endif</span> <a name="l01199"></a>01199 <span class="preprocessor"></span>} <a name="l01200"></a>01200 <span class="preprocessor">#endif</span> <a name="l01201"></a>01201 <span class="preprocessor"></span> <a name="l01202"></a>01202 <span class="preprocessor">#endif</span> </pre></div></div> <!--- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Defines</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Aug 17 22:22:30 2011 for FreeTDS API by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>