This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



read_only(3)                                      net-snmp                                      read_only(3)



NAME
       read_only - 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.



   Functions
       netsnmp_mib_handler * netsnmp_get_read_only_handler (void)
           returns a read_only handler that can be injected into a given handler chain.
       int netsnmp_read_only_helper (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo,
           netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests)
       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.

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.

       References netsnmp_mib_handler_s::flags, MIB_HANDLER_AUTO_NEXT, netsnmp_create_handler(),
       netsnmp_read_only_helper(), and NULL.

       Referenced by netsnmp_init_read_only_helper(), netsnmp_register_read_only_instance(),
       netsnmp_register_read_only_scalar(), and netsnmp_register_read_only_table_data().

   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.

       References netsnmp_get_read_only_handler(), and netsnmp_register_handler_by_name().



Version 5.4.2                                    5 Sep 2008                                     read_only(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.