Current File : //usr/local/apps/share/doc/freetds/reference/a00393.html
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>FreeTDS API: Todo List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">FreeTDS API
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="pages.html"><span>Related&#160;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><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.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)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </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">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Modules</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Todo List </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><dl class="reflist">
<dt><a class="anchor" id="_todo000002"></a>Member <a class="el" href="a00374.html#gaf13b2bb12b4200752718f3a3face3870">bcp_colfmt_ps</a>  (DBPROCESS *dbproc, int host_colnum, int host_type, int host_prefixlen, DBINT host_collen, BYTE *host_term, int host_termlen, int table_colnum, DBTYPEINFO *typeinfo)</dt>
<dd>Not implemented. <dl class="section return"><dt>Returns</dt><dd>SUCCEED or FAIL. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00374.html#gaa23f8e5c7f437a94746c90292dd1cb01" title="Commit a set of rows to the table. ">bcp_batch()</a>, <a class="el" href="a00374.html#ga6cf03708baaf02eb016b9ee77160d879" title="Bind a program host variable to a database column. ">bcp_bind()</a>, <a class="el" href="a00374.html#ga0ed03c69e698336d015bb315ad755fd5" title="Specify the format of a datafile prior to writing to a table. ">bcp_colfmt()</a>, <a class="el" href="a00374.html#gae41d196a22c544d66212dacc5b555791" title="Set the length of a host variable to be written to a table. ">bcp_collen()</a>, <a class="el" href="a00374.html#ga6498235e4ef8e41ea43b01494b28998d" title="Override bcp_bind() by pointing to a different host variable. ">bcp_colptr()</a>, <a class="el" href="a00374.html#ga330b9f1028f856a9eec5115550bcb4f7" title="Indicate how many columns are to be found in the datafile. ">bcp_columns()</a>, <a class="el" href="a00374.html#ga244547855b41788fa3a67756956fbc81" title="Set BCP options for uploading a datafile. ">bcp_control()</a>, <a class="el" href="a00374.html#ga8b85f79f53a62ac7a728fe626d609b65" title="Conclude the transfer of data from program variables. ">bcp_done()</a>, <a class="el" href="a00374.html#ga7a184158b27a50f713e9cfae3b746209" title="Write a datafile to a table. ">bcp_exec()</a>, <a class="el" href="a00374.html#gada8e987c4a6225b9276c05ba3a4f47a0" title="Prepare for bulk copy operation on a table. ">bcp_init()</a>, <a class="el" href="a00374.html#gaf1130ac97f6af55e86ec70b0aa4f5b40" title="Write data in host variables to the table. ">bcp_sendrow</a>  </dd></dl>
</dd>
<dt><a class="anchor" id="_todo000003"></a>Member <a class="el" href="a00374.html#gafec3feb5bac1cb33545ba01efb0a67b8">bcp_options</a>  (DBPROCESS *dbproc, int option, BYTE *value, int valuelen)</dt>
<dd>Simplify. Remove <em>valuelen</em>, and dbproc-&gt;bcpinfo-&gt;hint = strdup(hints[i])  </dd>
<dt><a class="anchor" id="_todo000008"></a>Member <a class="el" href="a00372.html#ga939c2a2e67b9992c787e2cec5b6cc1a7">dbanullbind</a>  (DBPROCESS *dbproc, int computeid, int column, DBINT *indicator)</dt>
<dd>Never fails, but only because failure conditions aren't checked.  </dd>
<dt><a class="anchor" id="_todo000010"></a>Member <a class="el" href="a00372.html#ga5ea23272124fff03b8d87538c1ec3ee5">dbcancel</a>  (DBPROCESS *dbproc)</dt>
<dd>Check for failure and return accordingly.  </dd>
<dt><a class="anchor" id="_todo000009"></a>Member <a class="el" href="a00263.html#a9b73fd1afa2c3ccfca481635212d2e43">dbcolinfo</a>  (DBPROCESS *dbproc, CI_TYPE type, DBINT column, DBINT computeid, <a class="el" href="a00060.html">DBCOL</a> *pdbcol)</dt>
<dd>Support cursor rows.  </dd>
<dt><a class="anchor" id="_todo000007"></a>Member <a class="el" href="a00372.html#ga8b00d5cdcaa20cba13fa2e03d52a443e">dbconvert_ps</a>  (DBPROCESS *dbproc, int db_srctype, const BYTE *src, DBINT srclen, int db_desttype, BYTE *dest, DBINT destlen, DBTYPEINFO *typeinfo)</dt>
<dd><p class="startdd">What happens if client does not reset values? </p>
<p class="enddd">Microsoft and Sybase define this function differently.  </p>
</dd>
<dt><a class="anchor" id="_todo000014"></a>Member <a class="el" href="a00378.html#ga01e7fb38bece3bb07526532fa6be50e5">dbcurcmd</a>  (DBPROCESS *dbproc)</dt>
<dd>Unimplemented.  </dd>
<dt><a class="anchor" id="_todo000013"></a>Member <a class="el" href="a00378.html#ga9e23a95d84192b4fc83db7544d772d16">dbcurrow</a>  (DBPROCESS *dbproc)</dt>
<dd>Unimplemented.  </dd>
<dt><a class="anchor" id="_todo000006"></a>Member <a class="el" href="a00372.html#gad0044401c8c83205583f93a4764f2d8b">dbexit</a>  ()</dt>
<dd>breaks if ctlib/dblib used in same process.  </dd>
<dt><a class="anchor" id="_todo000016"></a>Member <a class="el" href="a00378.html#gaf40b925f3b3ba43804720dd4ae584935">dbfirstrow</a>  (DBPROCESS *dbproc)</dt>
<dd>Unimplemented.  </dd>
<dt><a class="anchor" id="_todo000015"></a>Member <a class="el" href="a00372.html#ga6f13381522a1fa0b6ce2c15378088cdd">dbmoretext</a>  (DBPROCESS *dbproc, DBINT size, const BYTE text[])</dt>
<dd>Check return value of called functions and return <code>FAIL</code> if appropriate.  </dd>
<dt><a class="anchor" id="_todo000012"></a>Member <a class="el" href="a00373.html#ga42e187003b74fec6e9ca92d410bfb9c0">dbretdata</a>  (DBPROCESS *dbproc, int retnum)</dt>
<dd>Handle blobs.  </dd>
<dt><a class="anchor" id="_todo000004"></a>Member <a class="el" href="a00378.html#ga03e850369aca6fba074da5e9da4effd7">dbsetlbool</a>  (<a class="el" href="a00083.html">LOGINREC</a> *login, int value, int which)</dt>
<dd>DBSETNOSHORT, DBSETENCRYPT, DBSETLABELED  </dd>
<dt><a class="anchor" id="_todo000020"></a>Member <a class="el" href="a00372.html#gac51e3075197963557a8d2a37d82df921">DBSETLENCRYPT</a>  (x, y)</dt>
<dd>Unimplemented. <dl class="section see"><dt>See also</dt><dd>dbsetlencrypt()  </dd></dl>
</dd>
<dt><a class="anchor" id="_todo000011"></a>Member <a class="el" href="a00372.html#ga9d660d278f3f58871b4086c0e175f4c6">dbsetopt</a>  (DBPROCESS *dbproc, int option, const char *char_param, int int_param)</dt>
<dd>Implement more options.  </dd>
<dt><a class="anchor" id="_todo000017"></a>Member <a class="el" href="a00385.html#ga87db49044919f1bc84c0ff5e9ab00304">tds_iconv</a>  (TDSSOCKET *tds, TDSICONV *conv, TDS_ICONV_DIRECTION io, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft)</dt>
<dd><p class="startdd">Check for variable multibyte non-UTF-8 input character set. </p>
<p>Use more robust error message generation. </p>
<p>For reads, cope with <em>outbuf</em> encodings that don't have the equivalent of an ASCII '?'. </p>
<p class="enddd">Support alternative to '?' for the replacement character.  </p>
</dd>
<dt><a class="anchor" id="_todo000019"></a>Member <a class="el" href="a00390.html#gabfc9de1d1fe718818caf63a4be4035a6">tds_process_tokens</a>  (TDSSOCKET *tds, TDS_INT *result_type, int *done_flags, unsigned flag)</dt>
<dd>Complete TDS_DESCRIBE_RESULT description <dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">TDS_SUCCESS</td><td>if a result set is available for processing. </td></tr>
    <tr><td class="paramname">TDS_FAIL</td><td>on error. </td></tr>
    <tr><td class="paramname">TDS_NO_MORE_RESULTS</td><td>if all results have been completely processed. </td></tr>
    <tr><td class="paramname">anything</td><td>returned by one of the many functions it calls. :-(  </td></tr>
  </table>
  </dd>
</dl>
</dd>
<dt><a class="anchor" id="_todo000018"></a>Member <a class="el" href="a00217.html#a3ab8874994a0776acdaff797afdb710a">tds_set_server</a>  (TDSLOGIN *tds_login, const char *server) TDS_WUR</dt>
<dd>open the log file earlier, so these messages can be seen.  </dd>
<dt><a class="anchor" id="_todo000005"></a>Member <a class="el" href="a00378.html#ga2c99ec565452279e9a382451d89642eb">tdsdbopen</a>  (<a class="el" href="a00083.html">LOGINREC</a> *login, const char *server, int msdblib)</dt>
<dd><p class="startdd">use <code>asprintf()</code> to avoid buffer overflow. </p>
<p class="enddd">separate error messages for <em>no-such-server</em> and <em>no-such-user</em>. </p>
</dd>
</dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 15 2017 09:01:18 for FreeTDS API by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>