ADC Home > Reference Library > Reference > Darwin > Miscellaneous User Space API Reference

 


baby_steps.h

Includes:

Introduction



Typedefs


netsnmp_baby_steps_access_methods


/** @name access_multiplexer

This helper calls individual access methods based on the mode. All
access methods share the same handler, and the same myvoid pointer.
If you need individual myvoid pointers, check out the multiplexer
handler (though it currently only works for traditional modes).

    */
/** @struct netsnmp_mib_handler_access_methods
Defines the access methods to be called by the access_multiplexer helper
    */
typedef struct netsnmp_baby_steps_access_methods_s {  
    /*
 * baby step modes
        */
    Netsnmp_Node_Handler *pre_request; 
    Netsnmp_Node_Handler *object_lookup; 
    Netsnmp_Node_Handler *get_values; 
    Netsnmp_Node_Handler *object_syntax_checks; 
    Netsnmp_Node_Handler *row_creation; 
    Netsnmp_Node_Handler *undo_setup; 
    Netsnmp_Node_Handler *set_values; 
    Netsnmp_Node_Handler *consistency_checks; 
    Netsnmp_Node_Handler *commit; 
    Netsnmp_Node_Handler *undo_sets; 
    Netsnmp_Node_Handler *undo_cleanup; 
    Netsnmp_Node_Handler *undo_commit; 
    Netsnmp_Node_Handler *irreversible_commit; 
    Netsnmp_Node_Handler *post_request;  
    void *my_access_void;  
} netsnmp_baby_steps_access_methods;  
Discussion

@}


netsnmp_baby_steps_modes


typedef struct netsnmp_baby_steps_modes_s { 
    u_int registered; 
    u_int completed; 
} netsnmp_baby_steps_modes;  
Discussion

@name baby_steps

This helper expands the original net-snmp set modes into the newer, finer grained modes.

* @{

#defines


netsnmp_get_baby_steps_handler


/** backwards compatability. don't use in new code */
#define netsnmp_get_baby_steps_handler netsnmp_baby_steps_handler_get 
Discussion

@}

Last Updated: 2006-06-20