netsnmp_bulk_to_next.3
上传用户:wxp200602
上传日期:2007-10-30
资源大小:4028k
文件大小:3k
源码类别:
SNMP编程
开发平台:
Unix_Linux
- .TH "bulk_to_next: convert GETBULK requests into GETNEXT requests for the handler." 3 "28 Nov 2005" "Version 5.2.1.rc3" "net-snmp" " -*- nroff -*-
- .ad l
- .nh
- .SH NAME
- bulk_to_next: convert GETBULK requests into GETNEXT requests for the handler. - The only purpose of this handler is to convert a GETBULK request to a GETNEXT request.
- .PP
- .SS "Functions"
- .in +1c
- .ti -1c
- .RI "fBnetsnmp_mib_handlerfP * fBnetsnmp_get_bulk_to_next_handlerfP (void)"
- .br
- .RI "fIreturns a bulk_to_next handler that can be injected into a given handler chain. fP"
- .ti -1c
- .RI "void fBnetsnmp_bulk_to_next_fix_requestsfP (fBnetsnmp_request_infofP *requests)"
- .br
- .RI "fItakes answered requests and decrements the repeat count and updates the requests to the next to-do varbind in the list fP"
- .ti -1c
- .RI "int fBnetsnmp_bulk_to_next_helperfP (fBnetsnmp_mib_handlerfP *handler, fBnetsnmp_handler_registrationfP *reginfo, fBnetsnmp_agent_request_infofP *reqinfo, fBnetsnmp_request_infofP *requests)"
- .br
- .ti -1c
- .RI "void fBnetsnmp_init_bulk_to_next_helperfP (void)"
- .br
- .RI "fIinitializes the bulk_to_next helper which then registers a bulk_to_next handler as a run-time injectable handler for configuration file use. fP"
- .in -1c
- .SH "Detailed Description"
- .PP
- The only purpose of this handler is to convert a GETBULK request to a GETNEXT request.
- .PP
- It is inserted into handler chains where the handler has not set the HANDLER_CAN_GETBULK flag.
- .SH "Function Documentation"
- .PP
- .SS "void netsnmp_bulk_to_next_fix_requests (fBnetsnmp_request_infofP * requests)"
- .PP
- takes answered requests and decrements the repeat count and updates the requests to the next to-do varbind in the list
- .PP
- Definition at line 45 of file bulk_to_next.c.
- .PP
- References variable_list::name, variable_list::name_length, netsnmp_request_info_s::next, variable_list::next_variable, netsnmp_request_info_s::repeat, netsnmp_request_info_s::requestvb, snmp_set_var_objid(), and variable_list::type.
- .PP
- Referenced by netsnmp_bulk_to_next_helper().
- .SS "fBnetsnmp_mib_handlerfP* netsnmp_get_bulk_to_next_handler (void)"
- .PP
- returns a bulk_to_next handler that can be injected into a given handler chain.
- .PP
- Definition at line 30 of file bulk_to_next.c.
- .PP
- References netsnmp_mib_handler_s::flags, MIB_HANDLER_AUTO_NEXT, netsnmp_bulk_to_next_helper(), netsnmp_create_handler(), and NULL.
- .PP
- Referenced by netsnmp_init_bulk_to_next_helper(), and netsnmp_register_handler().
- .SS "void netsnmp_init_bulk_to_next_helper (void)"
- .PP
- initializes the bulk_to_next helper which then registers a bulk_to_next handler as a run-time injectable handler for configuration file use.
- .PP
- Definition at line 114 of file bulk_to_next.c.
- .PP
- References netsnmp_get_bulk_to_next_handler(), and netsnmp_register_handler_by_name().