On Fri, 11 Jun 2004 06:25:56 -0700 Glenn wrote:
GM> ....
GM> device1   OBJECT IDENTIFIER ::= { xpressObjects 1 }
GM> point1    OBJECT TYPE
GM>     SYNTAX OCTET STRING
GM>     MAX-ACCESS read-only
GM>     STATUS current
GM>     ::= { device1 1 }
GM> 
GM> point2    OBJECT TYPE
GM>     SYNTAX OCTET STRING
GM>     MAX-ACCESS read-only
GM>     STATUS current
GM>     ::= { device1 2 }
GM> ....
GM> 
GM> The problem is when I receive a GETNEXT request for the same oid
GM> ...
GM> I am not sure how the table_iterator or table_array helpers
GM> will help me here.

They won't, they just do tables. Have you looked at the scalar_group helper?

There are a few examples in the code base:

  5.1.x/agent/mibgroup/mibII/icmp.c
  5.1.x/agent/mibgroup/mibII/ip.c
  5.1.x/agent/mibgroup/mibII/tcp.c
  5.1.x/agent/mibgroup/mibII/udp.c


-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to