Manual Pages for UNIX Darwin command on man netsnmp_scalar
MyWebUniversity

Manual Pages for UNIX Darwin command on man netsnmp_scalar

scalar: process scalars easily.(3) scalar: process scalars easily.(3)

NAME

netsnmpscalar - process scalars easily.

FFuunnccttiioonnss nneettssnnmmppmmiibbhhaannddlleerr * nneettssnnmmppggeettssccaallaarrhhaannddlleerr (void) Creates a scalar handler calling netsnmpcreatehandler with a handler name defaulted to 'scalar' and access method, netsnmpscalarhelperhandler. int nneettssnnmmpprreeggiisstteerrssccaallaarr (nneettssnnmmpphhaannddlleerrrreeggiissttrraattiioonn *reginfo) This function registers a scalar helper handler. int nneettssnnmmpprreeggiisstteerrrreeaaddoonnllyyssccaallaarr (nneettssnnmmpphhaannddlleerrrreeggiissttrraattiioonn *reginfo) This function registers a read only scalar helper handler. int nneettssnnmmppssccaallaarrhheellppeerrhhaannddlleerr (nneettssnnmmppmmiibbhhaannddlleerr *handler, nneettssnnmmpphhaannddlleerrrreeggiissttrraattiioonn *reginfo, nneettssnnmmppaaggeennttrreeqquueessttiinnffoo *reqinfo, nneettssnnmmpprreeqquueessttiinnffoo *requests) FFuunnccttiioonn DDooccuummeennttaattiioonn nneettssnnmmppmmiibbhhaannddlleerr** nneettssnnmmppggeettssccaallaarrhhaannddlleerr ((vvooiidd)) Creates a scalar handler calling netsnmpcreatehandler with a handler name defaulted to 'scalar' and access method, netsnmpscalarhelperhandler. PPaarraammeetteerrss:: void .RE RReettuurrnnss:: Returns a pointer to a netsnmpmibhandler struct which contains the handler's name and the access method SSeeee aallssoo:: nneettssnnmmppggeettssccaallaarrhhaannddlleerr nneettssnnmmpprreeggiisstteerrssccaallaarr Definition at line 51 of file scalar.c. References netsnmpcreatehandler(). Referenced by netsnmpregisterreadonlyscalar(), and netsnmpregisterscalar(). iinntt nneettssnnmmpprreeggiisstteerrrreeaaddoonnllyyssccaallaarr ((nneettssnnmmpphhaannddlleerrrreeggiissttrraattiioonn ** rreeggiinnffoo)) This function registers a read only scalar helper handler. This function is very similar to netsnmpregisterscalar the only addition is that the 'readonly' handler is injected into the handler chain prior to injecting the serialize handler and registering reginfo. PPaarraammeetteerrss:: reginfo a handler registration structure which could get created using netsnmpcreatehandlerregistration. Used to register a read only scalar helper handler. RReettuurrnnss:: MIBREGISTEREDOK is returned if the registration was a success. Failures are MIBREGISTRATIONFAILURE and MIBDUPLICATEREGISTRATION. SSeeee aallssoo:: nneettssnnmmpprreeggiisstteerrssccaallaarr nneettssnnmmppggeettssccaallaarrhhaannddlleerr Definition at line 114 of file scalar.c. References netsnmpgetinstancehandler(), netsnmpgetreadonlyhandler(), netsnmpgetscalarhandler(), netsnmphandlerregistration, netsnmpinjecthandler(), netsnmpregisterserialize(), netsnmphandlerregistrations::rootoid, and netsnmphandlerregistrations::rootoidlen. iinntt nneettssnnmmpprreeggiisstteerrssccaallaarr ((nneettssnnmmpphhaannddlleerrrreeggiissttrraattiioonn ** rreeggiinnffoo)) This function registers a scalar helper handler. The registered OID,

reginfo->rootoid, space is extended for the instance subid using

realloc() but the reginfo->rootoidlen length is not extended just yet.

.This function subsequently injects the instance, scalar, and serialize helper handlers before actually registering reginfo. Each handler is injected/pushed to the top of the handler chain list and will be processed last in first out, LIFO. PPaarraammeetteerrss:: reginfo a handler registration structure which could get created using netsnmpcreatehandlerregistration. Used to register a scalar helper handler. RReettuurrnnss:: MIBREGISTEREDOK is returned if the registration was a success. Failures are MIBREGISTRATIONFAILURE and MIBDUPLICATEREGISTRATION. SSeeee aallssoo:: nneettssnnmmpprreeggiisstteerrrreeaaddoonnllyyssccaallaarr nneettssnnmmppggeettssccaallaarrhhaannddlleerr Definition at line 79 of file scalar.c. References netsnmpgetinstancehandler(), netsnmpgetscalarhandler(), netsnmphandlerregistration, netsnmpinjecthandler(), netsnmpregisterserialize(), netsnmphandlerregistrations::rootoid, and netsnmphandlerregistrations::rootoidlen.

net-snmp 24 Jan 2005scalar: process scalars easily.(3)




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