netsnmp_read_only(3snmp)

netsnmp_read_only3snmp

Make your handler read_only automatically the only purpose of this handler is to return an appropriate error for any requests passed to it in a set mode.

Detailed Description

Make your handler read_only automatically The only purpose of this handler is to return an appropriate error for any requests passed to it in a SET mode.

Inserting it into your handler chain will ensure you're never asked to perform a SET request so you can ignore those error conditions.

Function Documentation

netsnmp_mib_handler* netsnmp_get_read_only_handler (void)

returns a read_only handler that can be injected into a given handler chain.

Definition at line 29 of file read_only.c.

void netsnmp_init_read_only_helper (void)

initializes the read_only helper which then registers a read_only handler as a run-time injectable handler for configuration file use.

Definition at line 81 of file read_only.c.

Releases

5 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0–7

Author

Generated automatically by Doxygen for net-snmp from the source code.

From libsnmp-dev 5.4.3~dfsg-2.8+deb7u1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.