📄 pop3__client_8h-source.html
字号:
<a name="l00096"></a><a class="code" href="structpop3c__struct.html#m9">00096</a> UINT16 curmsghlen; <a name="l00097"></a><a class="code" href="structpop3c__struct.html#m10">00097</a> UINT8 headerbuf[9]; <a name="l00098"></a><a class="code" href="structpop3c__struct.html#m11">00098</a> UINT8 charsinheaderbuf; <a name="l00099"></a><a class="code" href="structpop3c__struct.html#m12">00099</a> UINT8 from[<a class="code" href="pop3__client_8h.html#a0">POP3C_SENDERMAXLEN</a>]; <a name="l00100"></a><a class="code" href="structpop3c__struct.html#m13">00100</a> UINT8 subject[<a class="code" href="pop3__client_8h.html#a1">POP3C_SUBJECTMAXLEN</a>]; 00102 };00103 00104 00105 <span class="comment">/* POP3 States */</span>00106 <a name="l00107"></a><a class="code" href="pop3__client_8h.html#a3">00107</a> <span class="preprocessor">#define POP3C_UNINITIALIZED 1 </span><a name="l00108"></a><a class="code" href="pop3__client_8h.html#a4">00108</a> <span class="preprocessor">#define POP3C_CLOSED 2 </span><a name="l00109"></a><a class="code" href="pop3__client_8h.html#a5">00109</a> <span class="preprocessor">#define POP3C_OPEN_REQUESTED 3 </span><a name="l00110"></a><a class="code" href="pop3__client_8h.html#a6">00110</a> <span class="preprocessor">#define POP3C_CONNECTIONOPEN_SENT 4 </span><a name="l00111"></a><a class="code" href="pop3__client_8h.html#a7">00111</a> <span class="preprocessor">#define POP3C_CONNECTION_OPENED 5 </span><a name="l00112"></a><a class="code" href="pop3__client_8h.html#a8">00112</a> <span class="preprocessor">#define POP3C_SERVER_READY 6 </span><a name="l00113"></a><a class="code" href="pop3__client_8h.html#a9">00113</a> <span class="preprocessor">#define POP3C_USERNAME_SENT 7 </span><a name="l00114"></a><a class="code" href="pop3__client_8h.html#a10">00114</a> <span class="preprocessor">#define POP3C_USERNAME_ACKED 8 </span><a name="l00115"></a><a class="code" href="pop3__client_8h.html#a11">00115</a> <span class="preprocessor">#define POP3C_PASSWORD_SENT 9 </span><a name="l00116"></a><a class="code" href="pop3__client_8h.html#a12">00116</a> <span class="preprocessor">#define POP3C_PASSWORD_ACKED 10 </span><a name="l00117"></a><a class="code" href="pop3__client_8h.html#a13">00117</a> <span class="preprocessor">#define POP3C_STAT_SENT 11 </span><a name="l00118"></a><a class="code" href="pop3__client_8h.html#a14">00118</a> <span class="preprocessor">#define POP3C_STAT_GET 12 </span><a name="l00119"></a><a class="code" href="pop3__client_8h.html#a15">00119</a> <span class="preprocessor">#define POP3C_LIST_SENT 13 </span><a name="l00120"></a><a class="code" href="pop3__client_8h.html#a16">00120</a> <span class="preprocessor">#define POP3C_LIST_GET 14 </span><a name="l00121"></a><a class="code" href="pop3__client_8h.html#a17">00121</a> <span class="preprocessor">#define POP3C_TOP0_SENT 15 </span><a name="l00122"></a><a class="code" href="pop3__client_8h.html#a18">00122</a> <span class="preprocessor">#define POP3C_RECEIVING_HEADER 16 </span><a name="l00123"></a><a class="code" href="pop3__client_8h.html#a19">00123</a> <span class="preprocessor">#define POP3C_RECEIVING_HDR_FROM 17 </span><a name="l00124"></a><a class="code" href="pop3__client_8h.html#a20">00124</a> <span class="preprocessor">#define POP3C_RECEIVING_HDR_SUBJ 18 </span><a name="l00125"></a><a class="code" href="pop3__client_8h.html#a21">00125</a> <span class="preprocessor">#define POP3C_TOP0_GET 19 </span><a name="l00126"></a><a class="code" href="pop3__client_8h.html#a22">00126</a> <span class="preprocessor">#define POP3C_RETR_SENT 20 </span><a name="l00127"></a><a class="code" href="pop3__client_8h.html#a23">00127</a> <span class="preprocessor">#define POP3C_RECEIVING_MSG_HEADER 21 </span><a name="l00128"></a><a class="code" href="pop3__client_8h.html#a24">00128</a> <span class="preprocessor">#define POP3C_RECEIVING_MSG 22 </span><a name="l00129"></a><a class="code" href="pop3__client_8h.html#a25">00129</a> <span class="preprocessor">#define POP3C_MESSAGE_RECEIVED 23 </span><a name="l00130"></a><a class="code" href="pop3__client_8h.html#a26">00130</a> <span class="preprocessor">#define POP3C_DELE_SENT 24 </span><a name="l00131"></a><a class="code" href="pop3__client_8h.html#a27">00131</a> <span class="preprocessor">#define POP3C_DELE_ACKED 25 </span><a name="l00132"></a><a class="code" href="pop3__client_8h.html#a28">00132</a> <span class="preprocessor">#define POP3C_QUIT_SENT 26 </span><a name="l00133"></a><a class="code" href="pop3__client_8h.html#a29">00133</a> <span class="preprocessor">#define POP3C_QUIT_ACKED 27 </span>00135 <span class="preprocessor">#define POP3C_OK '+' </span>00136 <span class="preprocessor"></span>00137 00138 <span class="comment">/* Function prototypes (internal) */</span>00139 00140 INT8 <a class="code" href="pop3__client_8c.html#a2">pop3c_connect</a>(UINT32, UINT16);00141 <span class="keywordtype">void</span> <a class="code" href="pop3__client_8c.html#a32">pop3c_init</a>(<span class="keywordtype">void</span>);00142 UINT8 <a class="code" href="pop3__client_8c.html#a33">pop3c_getstate</a>(<span class="keywordtype">void</span>);00143 INT32 pop3c_eventlistener(INT8, UINT8, UINT32, UINT32);00144 <span class="keywordtype">void</span> pop3c_run(<span class="keywordtype">void</span>);00145 <span class="keywordtype">void</span> pop3c_senduser(<span class="keywordtype">void</span>);00146 <span class="keywordtype">void</span> pop3c_sendpassword(<span class="keywordtype">void</span>);00147 <span class="keywordtype">void</span> pop3c_sendstat(<span class="keywordtype">void</span>);00148 <span class="keywordtype">void</span> pop3c_sendlist(UINT16);00149 <span class="keywordtype">void</span> pop3c_sendtop(UINT16);00150 <span class="keywordtype">void</span> pop3c_sendretr(UINT16);00151 <span class="keywordtype">void</span> pop3c_senddele(UINT16);00152 <span class="keywordtype">void</span> pop3c_sendquit(<span class="keywordtype">void</span>);00153 <span class="keywordtype">void</span> pop3c_changestate(UINT8);00154 INT16 pop3c_parsestat(<span class="keywordtype">void</span>);00155 INT16 pop3c_parselist(<span class="keywordtype">void</span>);00156 00157 00158 00159 <span class="comment">/* Function prototypes (callbacks, external) */</span>00160 00161 <span class="keywordtype">void</span> <a class="code" href="pop3c__callbacks_8c.html#a47">pop3c_error</a>(<span class="keywordtype">void</span>);00162 <span class="keywordtype">void</span> <a class="code" href="pop3c__callbacks_8c.html#a6">pop3c_data</a>(UINT8);00163 <span class="keywordtype">void</span> <a class="code" href="pop3c__callbacks_8c.html#a49">pop3c_allok</a>(<span class="keywordtype">void</span>);00164 <span class="keywordtype">void</span> <a class="code" href="pop3c__callbacks_8c.html#a1">pop3c_messages</a>(UINT16);00165 INT16 <a class="code" href="pop3c__callbacks_8c.html#a2">pop3c_msgoffer</a>(UINT16, UINT32, UINT8*, UINT8*);00166 INT8 <a class="code" href="pop3c__callbacks_8c.html#a3">pop3c_getusername</a>(UINT8*);00167 INT8 <a class="code" href="pop3c__callbacks_8c.html#a4">pop3c_getpassword</a>(UINT8*);00168 00169 <span class="preprocessor">#endif</span></pre></div><hr><address style="align: right;"><small>Generated on Sun Aug 3 20:32:59 2003 for OpenTCP by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -