On Fri, 19 Nov 2004 11:14:50 -0800 [EMAIL PROTECTED] wrote: WC> Now, I must ask, how is accessibility decided? Is it by a call to the WC> module (as I understand it, this is the term for MIB implementation WC> code), such as might be serviced by code looking like: WC> WC> if(header_generic(vp,name,length,exact,var_len,write_method) WC> ==MATCH_FAILED) return NULL; WC> WC> or is this decision made by some other means? If so, what is that process?
No, header_generic and header_complex are simply verifying that the incoming OID is appropriate for the module in question. The access control is done after the module returns an object. I seem to recall a function like vacm_in_view or some such. WC> In as much as this information is of value to me, it is probably well to WC> get this documented in the users listserve archives, for the benefit of WC> those who seek to extend the agent. Those extending the agent don't really need to understand the internal workings of the agent. The module API should be well documented, but the internals is a much much lower priority. -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
