📄 snmp.refentries.toc74.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title><i class="i">snmpMasterQueryHandler</i>( ) SNMP Reference </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a></a><a href="snmp.refEntries.TOC.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="snmp.refEntries.TOC73.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="snmp.refEntries.TOC75.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h2 class="H1"><i><a name="89805"> <i class="i">snmpMasterQueryHandler</i>( ) </a></i></h2></font><h4 class="SH"><a name="89806"> </a>NAME </h4><dl class="margin"><dl class="margin"><dd><a name="89807"><div class="aX"><b class="routine"><i class="routine">snmpMasterQueryHandler</i></b><b>( )</b> - handles replies from the subagent </div></a></dl></dl><h4 class="SH"><a name="89808"> </a>SYNOPSIS </h4><dl class="margin"><dl class="margin"><dd><pre class="Code"><b><a name="89809">UINT_16_T snmpMasterQueryHandler ( OCTET_T * pMsg, /* pointer to the packet */ ALENGTH_T msgl, /* length of packet */ int flag /* should be 1 */ )</a></b></pre></dl></dl><h4 class="SH"><a name="89815"> </a>DESCRIPTION </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="89816"> </a>This routine is for use with <b class="routine"><i class="routine">snmpMasterHandlerAsync</i></b><b>( )</b>. It handles the replies to queries generated by the method routines. It decodes the message and tries to integrate the response with an outstanding packet. The <i class="i">pMsg</i> and <i class="i">msgl</i> parameters are pointers to the message and the length respectively. The <i class="i">flag</i> parameter specifies whether the continuation routines should be run. This should always be set to 1. </p></dl></dl><h4 class="SH"><a name="89817"> </a>RETURNS </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="89818"> </a>The request ID if routine could decode the packet or 0 in case of error. </p></dl></dl><h4 class="SH"><a name="89819"> </a>SEE ALSO </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="89820"> </a><b>subagentLib</b> </p></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a></a><a href="snmp.refEntries.TOC.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="snmp.refEntries.TOC73.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="snmp.refEntries.TOC75.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc. conversion tool: Quadralay WebWorks Publisher 4.0.11 template: CSS Template, Jan 1998 - Jefro --->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -