>>>>> On Mon, 17 Jan 2005 13:47:09 -0100 (EDT), "Ricardo Luis A. Abrantes" 
>>>>> <[EMAIL PROTECTED]> said:

Ricardo> I have two variables in my MIB definition, one is writable
Ricardo> (represents the number of a link), and the other is read-only
Ricardo> (represents the status of a link).  In the handler's code for
Ricardo> the link status variable (into the GET section) I need to
Ricardo> access the other variable (link number) to know what link
Ricardo> number the client is looking for (there's only one client
Ricardo> doing this request - both SET and GET - at a given time). How
Ricardo> can I do that? 

You said scalar, but this sounds like it's encoded into a table in
which case you need to look at the index values encoded into the OID.
All of the table helpers have mechanisms to help you do this.  But I
don't want to go into detail without knowing this is actually what
you're doing...

-- 
Wes Hardaker
Sparta


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to