On 3 November 2011 14:21,  <sundararaman.dheivanaya...@wipro.com> wrote:
> Please let me know the net-snmp APIs to read the below configuration from
> /etc/snmp/snmpd.conf file.

The code for processing these directives can be found in the file
    agent/mibgroup/mibII/vacm_conf.c

The first three-quarters of the file ('vacm_parse_group' through to
'vacm_create_simple')
are concerned with reading in settings from the config file.

The last couple of routines ('vacm_in_view' and 'vacm_check_view') are concerned
with applying these settings to a given request, and deciding whether it should
be accepted or not.


It's probably pushing things to regard these routines as a public API.
They're not really intended for external use - they are mostly used by the
internals of the agent driving code.

Dave

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
  • USM APIs sundararaman.dheivanayagam
    • Re: USM APIs Dave Shield

Reply via email to