and added files
[bcm963xx.git] / userapps / opensource / net-snmp / man / netsnmp_old_api.3
1 .TH "old_api: Calls mib module code written in the old style of code." 3 "10 Jan 2003" "net-snmp" \" -*- nroff -*-
2 .ad l
3 .nh
4 .SH NAME
5 old_api: Calls mib module code written in the old style of code. \- This is a backwards compatilibity module that allows code written in the old API to be run under the new handler based architecture. 
6 More...
7 .SS "Functions"
8
9 .in +1c
10 .ti -1c
11 .RI "netsnmp_mib_handler * \fBget_old_api_handler\fP (void)"
12 .br
13 .RI "\fIreturns a old_api handler that should be the final calling handler.\fP"
14 .ti -1c
15 .RI "int \fBnetsnmp_register_old_api\fP (const char *moduleName, struct variable *var, size_t varsize, size_t numvars, oid *mibloc, size_t mibloclen, int priority, int range_subid, oid range_ubound, netsnmp_session *ss, const char *context, int timeout, int flags)"
16 .br
17 .RI "\fIRegisters an old API set into the mib tree.\fP"
18 .ti -1c
19 .RI "int \fBnetsnmp_register_mib_table_row\fP (const char *moduleName, struct variable *var, size_t varsize, size_t numvars, oid *mibloc, size_t mibloclen, int priority, int var_subid, netsnmp_session *ss, const char *context, int timeout, int flags)"
20 .br
21 .RI "\fIregisters a row within a mib table.\fP"
22 .ti -1c
23 .RI "int \fBnetsnmp_old_api_helper\fP (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests)"
24 .br
25 .RI "\fIimplements the old_api handler.\fP"
26 .in -1c
27 .SH "DETAILED DESCRIPTION"
28 .PP 
29 This is a backwards compatilibity module that allows code written in the old API to be run under the new handler based architecture.
30 .PP
31 Use it by calling \fBnetsnmp_register_old_api\fP(). 
32 .SH "FUNCTION DOCUMENTATION"
33 .PP 
34 .SS "netsnmp_mib_handler* get_old_api_handler (void)"
35 .PP
36 returns a old_api handler that should be the final calling handler.
37 .PP
38 Don't use this function. Use the \fBnetsnmp_register_old_api\fP() function instead. 
39 .PP
40 Definition at line 40 of file old_api.c.
41 .SS "int netsnmp_old_api_helper (netsnmp_mib_handler * handler, netsnmp_handler_registration * reginfo, netsnmp_agent_request_info * reqinfo, netsnmp_request_info * requests)"
42 .PP
43 implements the old_api handler.
44 .PP
45 Definition at line 233 of file old_api.c.
46 .SS "int netsnmp_register_mib_table_row (const char * moduleName, struct variable * var, size_t varsize, size_t numvars, oid * mibloc, size_t mibloclen, int priority, int var_subid, netsnmp_session * ss, const char * context, int timeout, int flags)"
47 .PP
48 registers a row within a mib table.
49 .PP
50 Definition at line 119 of file old_api.c.
51 .SS "int netsnmp_register_old_api (const char * moduleName, struct variable * var, size_t varsize, size_t numvars, oid * mibloc, size_t mibloclen, int priority, int range_subid, oid range_ubound, netsnmp_session * ss, const char * context, int timeout, int flags)"
52 .PP
53 Registers an old API set into the mib tree.
54 .PP
55 Functionally this mimics the old register_mib_context() function (and in fact the new register_mib_context() function merely calls this new old_api one). 
56 .PP
57 Definition at line 51 of file old_api.c.