Unix and Linux Discussions Tagged with mib |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
6 |
7,309 |
Infrastructure Monitoring |
|
|
|
2 |
2,757 |
IP Networking |
|
|
|
0 |
5,208 |
Infrastructure Monitoring |
|
|
|
10 |
7,410 |
Emergency UNIX and Linux Support |
|
|
|
1 |
13,967 |
Infrastructure Monitoring |
|
|
|
0 |
562 |
Software Releases - RSS News |
|
|
|
0 |
711 |
Software Releases - RSS News |
|
|
|
0 |
742 |
Software Releases - RSS News |
|
|
|
1 |
3,560 |
AIX |
|
|
|
0 |
756 |
Software Releases - RSS News |
|
|
|
0 |
683 |
Software Releases - RSS News |
|
|
|
0 |
603 |
Software Releases - RSS News |
|
|
|
1 |
5,957 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
8,605 |
UNIX for Dummies Questions & Answers |
|
|
|
12 |
8,328 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
10,655 |
Cybersecurity |
|
|
|
5 |
6,113 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
2,394 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,383 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
14,246 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,203 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,057 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,994 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,352 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
1,731 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,183 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,799 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,648 |
IP Networking |
|
|
|
3 |
4,738 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,112 |
UNIX for Dummies Questions & Answers |
old_api: Calls mib module code written in the old style of coLibrary Functions old_api: Calls mib module code written in the old style of code.(3)
NAME
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. More...
Functions
netsnmp_mib_handler * get_old_api_handler (void)
returns a old_api handler that should be the final calling handler.
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)
Registers an old API set into the mib tree.
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)
registers a row within a mib table.
int netsnmp_old_api_helper (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo,
netsnmp_request_info *requests)
implements the old_api handler.
DETAILED DESCRIPTION
This is a backwards compatilibity module that allows code written in the old API to be run under the new handler based architecture.
Use it by calling netsnmp_register_old_api().
FUNCTION DOCUMENTATION
netsnmp_mib_handler* get_old_api_handler (void)
returns a old_api handler that should be the final calling handler.
Don't use this function. Use the netsnmp_register_old_api() function instead.
Definition at line 40 of file old_api.c.
Referenced by netsnmp_register_mib_table_row(), and netsnmp_register_old_api().
int netsnmp_old_api_helper (netsnmp_mib_handler * handler, netsnmp_handler_registration * reginfo, netsnmp_agent_request_info * reqinfo,
netsnmp_request_info * requests)
implements the old_api handler.
Definition at line 233 of file old_api.c.
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)
registers a row within a mib table.
Definition at line 119 of file old_api.c.
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)
Registers an old API set into the mib tree.
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).
Definition at line 51 of file old_api.c.
net-snmp 5 Oct 2002 old_api: Calls mib module code written in the old style of code.(3)