📄 snmpproclib.html
字号:
<a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>testproc_started</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>testproc_started</i>( )</strong> - indicate that a <b>testproc</b> operation has begun</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void testproc_started ( SNMP_PKT_T * pPkt, /* internal representation of the snmp packet */ VB_T * pVarBind /* var bind being processed */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine indicates that <b>testproc</b> for the specified variablebinding has been started by the user.<p><i>pPkt</i> is the internal representation of the SNMP packet.<i>pvarBind</i> is a pointer to the variable-binding being processed.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./snmpProcLib.html#top">snmpProcLib</a></b><hr><a name="testproc_good"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>testproc_good</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>testproc_good</i>( )</strong> - indicate successful completion of a <b>testproc</b> procedure</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void testproc_good ( SNMP_PKT_T * pPkt, /* internal representation of the snmp packet */ VB_T * pVarBind /* var bind being processed */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine indicates that <b>testproc</b> has successfully completed the checks to be performed prior to carrying out a <b>set</b> operation fora given variable binding.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./snmpProcLib.html#top">snmpProcLib</a></b><hr><a name="testproc_error"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>testproc_error</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>testproc_error</i>( )</strong> - indicate that a <b>testproc</b> operation encountered an error</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void testproc_error ( SNMP_PKT_T * pPkt, /* internal representation of the snmp packet */ VB_T * pVarBind, /* var bind being processed */ INT_32_T error /* error code */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine indicates that <b>testproc</b> encountered an error which willprevent a <b>set</b> operation from being successful.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./snmpProcLib.html#top">snmpProcLib</a></b><hr><a name="setproc_started"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>setproc_started</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>setproc_started</i>( )</strong> - indicate that a <b>setproc</b> operation has begun</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void setproc_started ( SNMP_PKT_T * pPkt, VB_T * pVarBind )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine indicates that <b>setproc</b> has been started by the userfor the specified variable binding.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./snmpProcLib.html#top">snmpProcLib</a></b><hr><a name="setproc_good"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>setproc_good</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>setproc_good</i>( )</strong> - indicates successful completion of a <b>setproc</b> procedure</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void setproc_good ( SNMP_PKT_T * pPkt, /* internal representation of the snmp packet */ VB_T * pVarBind /* var bind being processed */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine indicate that <b>setproc</b> has successfully completedthe <b>set</b> operation for a variable binding.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./snmpProcLib.html#top">snmpProcLib</a></b><hr><a name="setproc_error"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>setproc_error</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>setproc_error</i>( )</strong> - indicate that a <b>setproc</b> operation encountered an error</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void setproc_error ( SNMP_PKT_T * pPkt, /* internal representation of the snmp packet */ VB_T * pVarBind, /* var bind being processed */ INT_32_T error /* error code */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine indicates that <b>setproc</b> encountered an error while perorminga <b>set</b> operation for a variable binding. <p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./snmpProcLib.html#top">snmpProcLib</a></b><hr><a name="undoproc_started"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>undoproc_started</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>undoproc_started</i>( )</strong> - indicate that an <b>undoproc</b> operation has begun</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void undoproc_started ( SNMP_PKT_T * pPkt, /* internal representation of the snmp packet */ VB_T * pVarBind /* var bind being processed */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine indicates that <b>undoproc</b> has been started by the userfor the specified variable binding.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./snmpProcLib.html#top">snmpProcLib</a></b><hr><a name="undoproc_good"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>undoproc_good</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>undoproc_good</i>( )</strong> - indicates successful completion of an <b>undoproc</b> operation</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void undoproc_good ( SNMP_PKT_T * pPkt, /* internal representation of the snmp packet */ VB_T * pVarBind /* var bind being processed */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine indicates that an <b>undoproc</b> operation completed successfully.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./snmpProcLib.html#top">snmpProcLib</a></b><hr><a name="undoproc_error"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>undoproc_error</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>undoproc_error</i>( )</strong> - indicate that an <b>undproc</b> operation encountered an error</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void undoproc_error ( SNMP_PKT_T * pPkt, /* internal representation of the snmp packet */ VB_T * pVarBind, /* var bind being processed */ INT_32_T error /* error value */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine indicates that <b>undoproc</b> encountered an error for a specified variable binding.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./snmpProcLib.html#top">snmpProcLib</a></b><hr><a name="getproc_got_uint64"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>getproc_got_uint64</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>getproc_got_uint64</i>( )</strong> - indicate retrieval of a 64-bit unsigned integer</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void getproc_got_uint64 ( SNMP_PKT_T * pPkt, /* internal representation of the snmp packet */ VB_T * pVarBind, /* var bind being processed */ UINT_64_T * data /* 64 bit data */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine is called from <b>getproc</b> or <b>nextproc</b> when a 64-bitunsigned integer value is retrieved for a variable binding.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./snmpProcLib.html#top">snmpProcLib</a></b><hr><a name="getproc_got_uint64_high_low"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>getproc_got_uint64_high_low</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>getproc_got_uint64_high_low</i>( )</strong> - indicate retrieval of a 64-bit unsigned</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void getproc_got_uint64_high_low ( SNMP_PKT_T * pPkt, /* internal representation of the snmp packet */ VB_T * pVarBind, /* var bind being processed */ UINT_32_T high, /* high half of data */ UINT_32_T low /* lower half of data */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>integer with high and low halves<p>This routine is called from <b>getproc</b> or <b>nextproc</b> when a 64-bitunsigned integer value with both high and low halves is retrievedfor a variable binding.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./snmpProcLib.html#top">snmpProcLib</a></b><hr><a name="getproc_nosuchins"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>getproc_nosuchins</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>getproc_nosuchins</i>( )</strong> - indicates that no such instance exists</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void getproc_nosuchins ( SNMP_PKT_T * pPkt, /* internal representation of the snmp packet */ VB_T * pVarBind /* var bind being processed */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine is called from <b>getproc</b> if the requested instance does notexist.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./snmpProcLib.html#top">snmpProcLib</a></b><hr><a name="getproc_got_object_id"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>getproc_got_object_id</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>getproc_got_object_id</i>( )</strong> - indicate retrieval of an object identifier</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void getproc_got_object_id ( SNMP_PKT_T * pPkt, /* internal representation of the snmp packet */ VB_T * pVarBind, /* var bind being processed */ int length, /* The length of the oid */ OIDC_T * pOid, /* The oid to attach */ int flag /* The dynamic flag static (0), dynamic (1) */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine is called from <b>getproc</b> or <b>nextproc</b> when an objectidentifier is retrieved for a variable binding. If <i>flag</i> is 1,then <i>pOid</i> is assumed to point to dynamic memory which will belater freed by the agent.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./snmpProcLib.html#top">snmpProcLib</a></b><hr><a name="nextproc_next_instance"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>nextproc_next_instance</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>nextproc_next_instance</i>( )</strong> - install instance part of next instance</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void nextproc_next_instance ( SNMP_PKT_T * pPkt, /* internal representation of the snmp packet */ VB_T * pVarBind, /* var bind being processed */ int length, /* The length of the instance part */ OIDC_T * pOid /* The instance part */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine is called from <b>nextproc</b> to install into thevariable-binding list the instance part (<i>pOid</i>) of the next instancethat it is going to place into the variable binding.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./snmpProcLib.html#top">snmpProcLib</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -