Manual Pages for UNIX Darwin command on man netsnmp_read_only
MyWebUniversity

Manual Pages for UNIX Darwin command on man netsnmp_read_only

readonly: make your hanrdelaedrornelayd:omnalkye ayuotuormahtaincdallelry(r3e)adonly automatically(3)

NAME

netsnmpreadonly - make your handler readonly automatically.

FFuunnccttiioonnss nneettssnnmmppmmiibbhhaannddlleerr * nneettssnnmmppggeettrreeaaddoonnllyyhhaannddlleerr (void) returns a readonly handler that can be injected into a given handler chain. int nneettssnnmmpprreeaaddoonnllyyhheellppeerr (nneettssnnmmppmmiibbhhaannddlleerr *handler, nneettssnnmmpphhaannddlleerrrreeggiissttrraattiioonn *reginfo, nneettssnnmmppaaggeennttrreeqquueessttiinnffoo *reqinfo, nneettssnnmmpprreeqquueessttiinnffoo *requests) void nneettssnnmmppiinniittrreeaaddoonnllyyhheellppeerr (void) initializes the readonly helper which then registers a readonly

handler as a run-time injectable handler for configuration file

use. DDeettaaiilleedd DDeessccrriippttiioonn 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. FFuunnccttiioonn DDooccuummeennttaattiioonn nneettssnnmmppmmiibbhhaannddlleerr** nneettssnnmmppggeettrreeaaddoonnllyyhhaannddlleerr ((vvooiidd)) returns a readonly handler that can be injected into a given handler chain. Definition at line 32 of file readonly.c. References netsnmpmibhandlers::flags, netsnmpcreatehandler(), and netsnmpmibhandler. Referenced by netsnmpinitreadonlyhelper(), netsnmpregisterreadonlyinstance(), netsnmpregisterreadonlyscalar(), and netsnmpregisterreadonlytabledata(). vvooiidd nneettssnnmmppiinniittrreeaaddoonnllyyhheellppeerr ((vvooiidd)) initializes the readonly helper which then registers a readonly

handler as a run-time injectable handler for configuration file use.

Definition at line 86 of file readonly.c. References netsnmpgetreadonlyhandler(), and netsnmpregisterhandlerbyname().

net-snmp readonly: 2m4akJeanyo2u0r05handler readonly automatically(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™