Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

RedHat 9 (Linux i386) - man page for netsnmp_read_only (redhat section 3)

read_only: make your handler read_onlLibraread_only:nmakenyour handler read_only automatically(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.  More...

   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
       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 32 of file read_only.c.

       Referenced by netsnmp_init_read_only_helper(), 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 71 of file read_only.c.

   int netsnmp_read_only_helper (netsnmp_mib_handler * handler, netsnmp_handler_registration *
       reginfo, netsnmp_agent_request_info * reqinfo, netsnmp_request_info * requests)
       For internal use only.

       Definition at line 39 of file read_only.c.

net-snmp				  read_only:0make your handler read_only automatically(3)


All times are GMT -4. The time now is 07:22 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password