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

 


snmp_agent.h

Includes:

Introduction



Functions

netsnmp_set_mode_request_error
netsnmp_set_request_error

netsnmp_set_mode_request_error


int netsnmp_set_mode_request_error(
    int mode, 
    netsnmp_request_info *request, 
    int error_value);  
Discussion

deprecated, use netsnmp_request_set_error instead


netsnmp_set_request_error


int netsnmp_set_request_error(
    netsnmp_agent_request_info *reqinfo, 
    netsnmp_request_info *request,
    int error_value);  
Discussion

deprecated, use netsnmp_request_set_error instead

Typedefs


netsnmp_agent_request_info


See Also:
struct netsnmp_agent_request_info_s netsnmp_agent_request_info
/** @struct netsnmp_agent_request_info_s
The agent transaction request structure
    */
typedef struct netsnmp_agent_request_info_s { 
    int mode; 
    /** pdu contains authinfo, eg */
    /* netsnmp_pdu *pdu; */
    struct netsnmp_agent_session_s *asp; /* may not be needed */
    /*
 * can be used to pass information on a per-pdu basis from a
 * helper to the later handlers 
        */
    netsnmp_data_list *agent_data; 
} netsnmp_agent_request_info;  
Discussion

Typedefs the netsnmp_agent_request_info_s struct into netsnmp_agent_request_info


netsnmp_request_info


See Also:
struct netsnmp_request_info_s netsnmp_request_info
/** @struct netsnmp_request_info_s
The netsnmp request info structure.
    */
typedef struct netsnmp_request_info_s { 
    /**
variable bindings
        */
    netsnmp_variable_list *requestvb;  
    /**
can be used to pass information on a per-request basis from a
helper to the later handlers 
        */
    netsnmp_data_list *parent_data;  
    /*
 * pointer to the agent_request_info for this request
        */
    struct netsnmp_agent_request_info_s *agent_req_info;  
    /** don't free, reference to (struct tree)->end */
    oid *range_end; 
    size_t range_end_len;  
    /*
 * flags
        */
    int delegated; 
    int processed; 
    int inclusive;  
    int status; 
    /** index in original pdu */
    int index;  
    /** get-bulk */
    int repeat; 
    int orig_repeat; 
    netsnmp_variable_list *requestvb_start;  
    /* internal use */
    struct netsnmp_request_info_s *next; 
    struct netsnmp_request_info_s *prev; 
    struct netsnmp_subtree_s *subtree; 
} netsnmp_request_info;  
Discussion

Typedefs the netsnmp_request_info_s struct into * netsnmp_request_info


struct netsnmp_agent_request_info_s netsnmp_agent_request_info


See Also:
netsnmp_agent_request_info
/** @struct netsnmp_agent_request_info_s
The agent transaction request structure
    */
typedef struct netsnmp_agent_request_info_s { 
    int mode; 
    /** pdu contains authinfo, eg */
    /* netsnmp_pdu *pdu; */
    struct netsnmp_agent_session_s *asp; /* may not be needed */
    /*
 * can be used to pass information on a per-pdu basis from a
 * helper to the later handlers 
        */
    netsnmp_data_list *agent_data; 
} netsnmp_agent_request_info;  
Discussion

Typedefs the netsnmp_agent_request_info_s struct into netsnmp_agent_request_info


struct netsnmp_request_info_s netsnmp_request_info


See Also:
netsnmp_request_info
/** @struct netsnmp_request_info_s
The netsnmp request info structure.
    */
typedef struct netsnmp_request_info_s { 
    /**
variable bindings
        */
    netsnmp_variable_list *requestvb;  
    /**
can be used to pass information on a per-request basis from a
helper to the later handlers 
        */
    netsnmp_data_list *parent_data;  
    /*
 * pointer to the agent_request_info for this request
        */
    struct netsnmp_agent_request_info_s *agent_req_info;  
    /** don't free, reference to (struct tree)->end */
    oid *range_end; 
    size_t range_end_len;  
    /*
 * flags
        */
    int delegated; 
    int processed; 
    int inclusive;  
    int status; 
    /** index in original pdu */
    int index;  
    /** get-bulk */
    int repeat; 
    int orig_repeat; 
    netsnmp_variable_list *requestvb_start;  
    /* internal use */
    struct netsnmp_request_info_s *next; 
    struct netsnmp_request_info_s *prev; 
    struct netsnmp_subtree_s *subtree; 
} netsnmp_request_info;  
Discussion

Typedefs the netsnmp_request_info_s struct into * netsnmp_request_info


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.
Last Updated: 2006-06-20