📄 snmp.refentries.toc68.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">snmpIoMain</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.TOC67.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="snmp.refEntries.TOC69.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="84434"> <i class="i">snmpIoMain</i>( ) </a></i></h2></font><h4 class="SH"><a name="84435"> </a>NAME </h4><dl class="margin"><dl class="margin"><dd><a name="84436"><div class="aX"><b class="routine"><i class="routine">snmpIoMain</i></b><b>( )</b> - main SNMP I/O routine </div></a></dl></dl><h4 class="SH"><a name="84437"> </a>SYNOPSIS </h4><dl class="margin"><dl class="margin"><dd><pre class="Code"><b><a name="84438">void snmpIoMain (void) </a></b></pre></dl></dl><h4 class="SH"><a name="84441"> </a>DESCRIPTION </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="90895"> </a>This routine is invoked by the agent after it has successsfully completed the preliminary initializations. In this routine, the user is required to initialize the transport endpoint and the views, and then complete initialization of the agent by calling <b><i>snmpdInitFinish</i></b><b>( )</b>. Any configuration required for <b><i>snmpIoTrapSend</i></b><b>( )</b> must be done before calling <b><i>snmpdInitFinish</i></b><b>( )</b> since it will be invoked in there. Any hooks that are required by the user must be passed to <b><i>snmpdInitFinish</i></b><b>( )</b>. The transport endpoint must be initialized before <b><i>snmpdInitFinish</i></b><b>( )</b> is called; the main loop is then invoked. Before calling <b><i>snmpIoBody</i></b><b>( )</b>, the routine which waits on the socket, it calls <b><i>snmpMonitorSpawn</i></b><b>( )</b> which spawns the master-agent task. </p></dl></dl><h4 class="SH"><a name="84443"> </a>RETURNS </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84444"> </a>This routine should never return, except on failure.</p></dl></dl><h4 class="SH"><a name="84445"> </a>SEE ALSO </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84446"> </a><b>snmpIoLib</b>, <b class="routine"><i class="routine">snmpdInitFinish</i></b><b>( )</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.TOC67.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="snmp.refEntries.TOC69.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 + -