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

📄 pop3c__callbacks_8c.html

📁 Freescale mcu OpenTCP-1.0.4.doc.html.zip 文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>pop3c_callbacks.c File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="main.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindex" href="examples.html">Examples</a> &nbsp; </center><hr><h1>/opentcp/pop3/pop3c_callbacks.c File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <dl compact><dt><b>Author: </b></dt><dd> <ul><li> Jari Lahti (<a href="mailto:jari.lahti@violasystems.com">jari.lahti@violasystems.com</a>) </ul></dl><dl compact><dt><b>Version: </b></dt><dd>1.0 </dl><dl compact><dt><b>Date: </b></dt><dd>11.9.2002 </dl><dl compact><dt><b><a class="el" href="bug.html#_bug000017">Bug: </a></b></dt><dd></dl> <dl compact><dt><b>Warning: </b></dt><dd> </dl><dl compact><dt><b><a class="el" href="todo.html#_todo000019">Todo: </a></b></dt><dd></dl><p>This file holds empty callback functions needed by the POP3 client to get user-specific e-mail data from the application. Add your own code to perform the requested tasks.<p><p>Definition in file <a class="el" href="pop3c__callbacks_8c-source.html">pop3c_callbacks.c</a>.<p><a href="pop3c__callbacks_8c-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Functions</h2></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="pop3c__callbacks_8c.html#a0">pop3c_error</a> (void)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>POP3 client error handler.</em> <a href="#a0"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="pop3c__callbacks_8c.html#a1">pop3c_messages</a> (UINT16 msgs)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Invoked to inform user app about the number of new e-mails.</em> <a href="#a1"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INT16&nbsp;</td><td valign=bottom><a class="el" href="pop3c__callbacks_8c.html#a2">pop3c_msgoffer</a> (UINT16 index, UINT32 msglen, UINT8 *from, UINT8 *subject)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Offers e-mail message to the user app.</em> <a href="#a2"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INT8&nbsp;</td><td valign=bottom><a class="el" href="pop3c__callbacks_8c.html#a3">pop3c_getusername</a> (UINT8 *dbuf)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Get user name that is to be used for loging to the server.</em> <a href="#a3"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>INT8&nbsp;</td><td valign=bottom><a class="el" href="pop3c__callbacks_8c.html#a4">pop3c_getpassword</a> (UINT8 *dbuf)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Get password that is to be used for loging to the server.</em> <a href="#a4"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="pop3c__callbacks_8c.html#a5">pop3c_allok</a> (void)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Indicates succesfull reading of E-mails.</em> <a href="#a5"></a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="pop3c__callbacks_8c.html#a6">pop3c_data</a> (UINT8 data)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>Receives E-mail data.</em> <a href="#a6"></a><em></em></font><br><br></td></tr></table><hr><h2>Function Documentation</h2><a name="a0" doxytag="pop3c_callbacks.c::pop3c_error"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void pop3c_error </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><dl compact><dt><b>Author: </b></dt><dd> <ul><li> Jari Lahti (<a href="mailto:jari.lahti@violasystems.com">jari.lahti@violasystems.com</a>) </ul></dl><dl compact><dt><b>Date: </b></dt><dd>11.09.2002</dl>This callback function is called by POP3 Client when there  happens error of some kind (timeout, losing of connection etc.). <p>Definition at line <a class="el" href="pop3c__callbacks_8c-source.html#l00082">82</a> of file <a class="el" href="pop3c__callbacks_8c-source.html">pop3c_callbacks.c</a>.    </td>  </tr></table><a name="a1" doxytag="pop3c_callbacks.c::pop3c_messages"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void pop3c_messages </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">UINT16&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>msgs</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><dl compact><dt><b>Author: </b></dt><dd> <ul><li> Jari Lahti (<a href="mailto:jari.lahti@violasystems.com">jari.lahti@violasystems.com</a>) </ul></dl><dl compact><dt><b>Date: </b></dt><dd>11.09.2002 </dl><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>msgs</em>&nbsp;</td><td>Number of new e-mails waiting on the server</td></tr></table></dl>This callback function is called by POP3 Client in order to  indicate the number of new E-mails on server. <p>Definition at line <a class="el" href="pop3c__callbacks_8c-source.html#l00096">96</a> of file <a class="el" href="pop3c__callbacks_8c-source.html">pop3c_callbacks.c</a>.    </td>  </tr></table><a name="a2" doxytag="pop3c_callbacks.c::pop3c_msgoffer"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> INT16 pop3c_msgoffer </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">UINT16&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>index</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>UINT32&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>msglen</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>UINT8 *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>from</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>UINT8 *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>subject</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p><dl compact><dt><b>Author: </b></dt><dd> <ul><li> Jari Lahti (<a href="mailto:jari.lahti@violasystems.com">jari.lahti@violasystems.com</a>) </ul></dl><dl compact><dt><b>Date: </b></dt><dd>11.09.2002 </dl><dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>index</em>&nbsp;</td><td>index number of message </td></tr><tr><td valign=top><em>msglen</em>&nbsp;</td><td>Length of message data </td></tr><tr><td valign=top><em>from</em>&nbsp;</td><td>Buffer containing sender (null terminated string) </td></tr><tr><td valign=top><em>subject</em>&nbsp;</td><td>

⌨️ 快捷键说明

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