This is a discussion on Should I set request->processed=1, after proccessing request? within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C64847.72F45796 Content-Type: text/plain; charset="us-ascii&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
------_=_NextPart_001_01C64847.72F45796 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable In the MibAccess function, =20 when iterating over requests: =20 for (request =3D i_requests; request; request =3D request->next) { .... =20 =20 Should I set request->processed =3D 1 after each request I process? What is the processed flag used for? =20 Thanks, Erez. =20 =20 ------_=_NextPart_001_01C64847.72F45796 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR></HEAD> <BODY> <DIV><SPAN class=3D345334315-15032006><FONT face=3DArial size=3D2>In the = MibAccess=20 function,</FONT></SPAN></DIV> <DIV><SPAN class=3D345334315-15032006><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D345334315-15032006><FONT face=3DArial size=3D2>when = iterating over=20 requests:</FONT></SPAN></DIV> <DIV><SPAN class=3D345334315-15032006><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D345334315-15032006><FONT face=3DArial size=3D2>for = (request =3D=20 i_requests; request; request =3D request->next) {</FONT></SPAN></DIV> <DIV><SPAN class=3D345334315-15032006><FONT face=3DArial=20 size=3D2>...</FONT></SPAN></DIV> <DIV><SPAN class=3D345334315-15032006><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D345334315-15032006><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D345334315-15032006><FONT face=3DArial size=3D2>Should = I set=20 request->processed =3D 1 after each request I = process?</FONT></SPAN></DIV> <DIV><SPAN class=3D345334315-15032006><FONT face=3DArial size=3D2>What = is the=20 processed flag used for?</FONT></SPAN></DIV> <DIV><SPAN class=3D345334315-15032006><FONT face=3DArial=20 size=3D2></FONT></SPAN> </DIV> <DIV><FONT face=3DArial><FONT size=3D2><SPAN=20 class=3D345334315-15032006>Thanks,</SPAN></FONT></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D2><SPAN=20 class=3D345334315-15032006>Erez.</SPAN></FONT></FONT></DIV> <DIV><FONT face=3DArial><FONT size=3D2><SPAN = class=3D345334315-15032006></SPAN><SPAN=20 class=3D345334315-15032006></SPAN></FONT></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML> ------_=_NextPart_001_01C64847.72F45796-- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=...720&dat=121642 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |