⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 group__g__long.html

📁 ORACLE编程的好东西,纯C写的OCI封装.很好用,支持数据池.
💻 HTML
📖 第 1 页 / 共 2 页
字号:
      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT void* OCI_API OCI_LongGetBuffer           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___long.html">OCI_Long</a> *&nbsp;</td>          <td class="paramname"> <em>lg</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the internal buffer of an <a class="el" href="struct_o_c_i___long.html" title="Oracle Long datatype.">OCI_Long</a> object read from a fetch sequence. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>lg</em>&nbsp;</td><td>- Long handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="long_8c-source.html#l00291">291</a> of file <a class="el" href="long_8c-source.html">long.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00439">OCI_Long::buffer</a>.</p><p>Referenced by <a class="el" href="group__g__fetch.html#g755a9b07c174feacd05c86e0e44b0ab0">OCI_GetString()</a>.</p></div></div><p><a class="anchor" name="gf7ed15bc901e38b9bc3394f334bf8d4c"></a><!-- doxytag: member="ocilib.h::OCI_LongGetSize" ref="gf7ed15bc901e38b9bc3394f334bf8d4c" args="(OCI_Long *lg)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_LongGetSize           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___long.html">OCI_Long</a> *&nbsp;</td>          <td class="paramname"> <em>lg</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the buffer size of a long object in bytes (OCI_BLONG) or character (OCI_CLONG). <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>lg</em>&nbsp;</td><td>- Long handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="long_8c-source.html#l00271">271</a> of file <a class="el" href="long_8c-source.html">long.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00434">OCI_Long::size</a>, and <a class="el" href="ocilib__types_8h-source.html#l00435">OCI_Long::type</a>.</p></div></div><p><a class="anchor" name="g69ae3c008a5f540c4d7c6eca502b6898"></a><!-- doxytag: member="ocilib.h::OCI_LongGetType" ref="g69ae3c008a5f540c4d7c6eca502b6898" args="(OCI_Long *lg)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_LongGetType           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___long.html">OCI_Long</a> *&nbsp;</td>          <td class="paramname"> <em>lg</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the type of the given Long object. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>lg</em>&nbsp;</td><td>- Long handle</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>For possibles values, see <a class="el" href="group__g__lob.html#g318f1273603e24b51c3d9e4c29f42685" title="Create a local temporary Lob instance.">OCI_LobCreate()</a></dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Object type or OCI_UNKNOWN the input handle is NULL </dd></dl><p>Definition at line <a class="el" href="long_8c-source.html#l00123">123</a> of file <a class="el" href="long_8c-source.html">long.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00435">OCI_Long::type</a>.</p></div></div><p><a class="anchor" name="gd7e0ba53269cc2d5aace557a984c8717"></a><!-- doxytag: member="ocilib.h::OCI_LongRead" ref="gd7e0ba53269cc2d5aace557a984c8717" args="(OCI_Long *lg, void *buffer, unsigned int len)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_LongRead           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___long.html">OCI_Long</a> *&nbsp;</td>          <td class="paramname"> <em>lg</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">void *&nbsp;</td>          <td class="paramname"> <em>buffer</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">unsigned int&nbsp;</td>          <td class="paramname"> <em>len</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Read a portion of a long into the given buffer [Obsolete]. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>lg</em>&nbsp;</td><td>- Long handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&nbsp;</td><td>- Pointer to a buffer </td></tr>    <tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>- Length of the buffer in bytes / characters</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd><ul><li>From version 2.0.0, this function is obsolete because OCILIB fetches now all data during OCIFetchNext() call</li><li>So, this call reads now the internal <a class="el" href="struct_o_c_i___long.html" title="Oracle Long datatype.">OCI_Long</a> object allocated buffer</li><li>The internal buffer can be directly accessed with <a class="el" href="group__g__long.html#gee33459c8a44c3216df4335627cac818" title="Return the internal buffer of an OCI_Long object read from a fetch sequence.">OCI_LongGetBuffer()</a></li></ul><p><ul><li>For OCI_CLONG, parameter 'len' and returned value are expressed in characters</li><li>For OCI_BLONG, parameter 'len' and returned value are expressed in bytes</li></ul></dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd><ul><li>Number of bytes/characters read on success</li><li>0 if there is nothing more to read</li><li>0 on failure </li></ul></dd></dl><p>Definition at line <a class="el" href="long_8c-source.html#l00136">136</a> of file <a class="el" href="long_8c-source.html">long.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00439">OCI_Long::buffer</a>, <a class="el" href="ocilib__types_8h-source.html#l00376">OCI_Statement::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00436">OCI_Long::offset</a>, <a class="el" href="ocilib__types_8h-source.html#l00434">OCI_Long::size</a>, <a class="el" href="ocilib__types_8h-source.html#l00431">OCI_Long::stmt</a>, and <a class="el" href="ocilib__types_8h-source.html#l00435">OCI_Long::type</a>.</p></div></div><p><a class="anchor" name="g1a76c2c5de1c81d38be17bf28524ce99"></a><!-- doxytag: member="ocilib.h::OCI_LongWrite" ref="g1a76c2c5de1c81d38be17bf28524ce99" args="(OCI_Long *lg, void *buffer, unsigned int len)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_LongWrite           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___long.html">OCI_Long</a> *&nbsp;</td>          <td class="paramname"> <em>lg</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">void *&nbsp;</td>          <td class="paramname"> <em>buffer</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">unsigned int&nbsp;</td>          <td class="paramname"> <em>len</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Write a buffer into a Long. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>lg</em>&nbsp;</td><td>- Long handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>buffer</em>&nbsp;</td><td>- the pointer to a buffer </td></tr>    <tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>- the length of the buffer in bytes (OCI_BLONG) or character (OCI_CLONG)</td></tr>  </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Number of bytes (OCI_BLONG) / character (OCI_CLONG) written on success<ul><li>0 if there is nothing more to read</li><li>0 on failure </li></ul></dd></dl><p>Definition at line <a class="el" href="long_8c-source.html#l00172">172</a> of file <a class="el" href="long_8c-source.html">long.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00376">OCI_Statement::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00237">OCI_Connection::cxt</a>, <a class="el" href="ocilib__types_8h-source.html#l00235">OCI_Connection::err</a>, <a class="el" href="ocilib__types_8h-source.html#l00386">OCI_Statement::long_size</a>, <a class="el" href="ocilib__types_8h-source.html#l00434">OCI_Long::size</a>, <a class="el" href="ocilib__types_8h-source.html#l00373">OCI_Statement::stmt</a>, <a class="el" href="ocilib__types_8h-source.html#l00431">OCI_Long::stmt</a>, and <a class="el" href="ocilib__types_8h-source.html#l00435">OCI_Long::type</a>.</p></div></div><p><hr size="1"><address style="text-align: right;"><small>Generated on Thu Oct 9 10:07:47 2008 for OCILIB (C Driver for Oracle) by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -