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

📄 group__g__connect.html

📁 ORACLE编程的好东西,纯C写的OCI封装.很好用,支持数据池.
💻 HTML
📖 第 1 页 / 共 4 页
字号:
      </table></div><div class="memdoc"><p>Return the current session mode. <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>con</em>&nbsp;</td><td>- Connection handle</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>See <a class="el" href="group__g__connect.html#gdb6e2cdf759587dd81c2fda7c5f44338" title="Create a physical connection to an Oracle database server.">OCI_ConnectionCreate()</a> for possible values </dd></dl><p>Definition at line <a class="el" href="connection_8c-source.html#l00776">776</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00240">OCI_Connection::mode</a>.</p></div></div><p><a class="anchor" name="g033d19889ff80f7d5ff16285392ed696"></a><!-- doxytag: member="ocilib.h::OCI_GetTransaction" ref="g033d19889ff80f7d5ff16285392ed696" args="(OCI_Connection *con)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT <a class="el" href="struct_o_c_i___transaction.html">OCI_Transaction</a>* OCI_API OCI_GetTransaction           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>          <td class="paramname"> <em>con</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the current transaction of the connection. <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>con</em>&nbsp;</td><td>- Connection handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="connection_8c-source.html#l00912">912</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00231">OCI_Connection::trs</a>.</p></div></div><p><a class="anchor" name="g79621217bc8fb84907c453258a2a33e1"></a><!-- doxytag: member="ocilib.h::OCI_GetUserData" ref="g79621217bc8fb84907c453258a2a33e1" args="(OCI_Connection *con)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT void* OCI_API OCI_GetUserData           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>          <td class="paramname"> <em>con</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the previously pointer to user data associated with the connection. <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>con</em>&nbsp;</td><td>- Connection handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="connection_8c-source.html#l00682">682</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00242">OCI_Connection::usrdata</a>.</p></div></div><p><a class="anchor" name="g36f22edbe20d0cc1bbbb311dc58552e8"></a><!-- doxytag: member="ocilib.h::OCI_GetUserName" ref="g36f22edbe20d0cc1bbbb311dc58552e8" args="(OCI_Connection *con)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT const mtext* OCI_API OCI_GetUserName           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>          <td class="paramname"> <em>con</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the current logged user name. <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>con</em>&nbsp;</td><td>- Connection handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="connection_8c-source.html#l00723">723</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00225">OCI_Connection::user</a>.</p></div></div><p><a class="anchor" name="g6f61147801fce4b69edb4981ba4ea1b7"></a><!-- doxytag: member="ocilib.h::OCI_GetVersionConnection" ref="g6f61147801fce4b69edb4981ba4ea1b7" args="(OCI_Connection *con)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_GetVersionConnection           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>          <td class="paramname"> <em>con</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the highest Oracle version is supported by the connection. <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>con</em>&nbsp;</td><td>- connection handle</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>The highest supported version is the lower version between client and server:<p>Returns one of the following values :</dd></dl><ul><li>OCI_UNKNOWN</li><li>OCI_8</li><li>OCI_9</li><li>OCI_10</li><li>OCI_8</li><li>OCI_11 </li></ul><p>Definition at line <a class="el" href="connection_8c-source.html#l00946">946</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p><p>References <a class="el" href="group__g__init.html#g771bf5d33dbd0b63d84242819209b35b">OCI_GetOCIRuntimeVersion()</a>, and <a class="el" href="group__g__connect.html#g2d7618d8eae73643dd75067a40e656a1">OCI_GetServerMajorVersion()</a>.</p><p>Referenced by <a class="el" href="group__g__ora__ret.html#gdb32a019872260d7ef4c0e25f7d1b796">OCI_RegisterDate()</a>.</p></div></div><p><a class="anchor" name="ged47a25a1f96fd630f176fe702ac443a"></a><!-- doxytag: member="ocilib.h::OCI_GetVersionServer" ref="ged47a25a1f96fd630f176fe702ac443a" args="(OCI_Connection *con)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT const mtext* OCI_API OCI_GetVersionServer           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>          <td class="paramname"> <em>con</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the connected database server version. <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>con</em>&nbsp;</td><td>- Connection handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="connection_8c-source.html#l00789">789</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p><p>References <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#l00245">OCI_Connection::ver_maj</a>, <a class="el" href="ocilib__types_8h-source.html#l00246">OCI_Connection::ver_min</a>, <a class="el" href="ocilib__types_8h-source.html#l00247">OCI_Connection::ver_rev</a>, and <a class="el" href="ocilib__types_8h-source.html#l00227">OCI_Connection::version</a>.</p><p>Referenced by <a class="el" href="group__g__connect.html#g2d7618d8eae73643dd75067a40e656a1">OCI_GetServerMajorVersion()</a>, <a class="el" href="group__g__connect.html#g8f48a3c755751e5df415160913c6c7ee">OCI_GetServerMinorVersion()</a>, and <a class="el" href="group__g__connect.html#ge4c3b37f1c9fc79d36220aa9c96d4415">OCI_GetServerRevisionVersion()</a>.</p></div></div><p><a class="anchor" name="gaa13dc7489eeebcc6bd2a54fb88248b7"></a><!-- doxytag: member="ocilib.h::OCI_IsConnected" ref="gaa13dc7489eeebcc6bd2a54fb88248b7" args="(OCI_Connection *con)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT boolean OCI_API OCI_IsConnected           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>          <td class="paramname"> <em>con</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Returns TRUE is the given connection is still connected otherwise FALSE. <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>con</em>&nbsp;</td><td>- Connection handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="connection_8c-source.html#l00656">656</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00235">OCI_Connection::err</a>, and <a class="el" href="ocilib__types_8h-source.html#l00234">OCI_Connection::svr</a>.</p></div></div><p><a class="anchor" name="g7fbe35082dadb74584cab6a89183aa19"></a><!-- doxytag: member="ocilib.h::OCI_SetDefaultFormatDate" ref="g7fbe35082dadb74584cab6a89183aa19" args="(OCI_Connection *con, const mtext *format)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT boolean OCI_API OCI_SetDefaultFormatDate           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>

⌨️ 快捷键说明

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