Calls mib module code written in the old style of code. 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 |
|
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. Use it by calling netsnmp_register_old_api().
| 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.
| int netsnmp_old_api_helper | ( | netsnmp_mib_handler * | handler, | |
| netsnmp_handler_registration * | reginfo, | |||
| netsnmp_agent_request_info * | reqinfo, | |||
| netsnmp_request_info * | requests | |||
| ) |
| 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 | |||
| ) |
| 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 | |||
| ) |
1.6.1
Last modified: Monday, 28-Sep-2009 20:19:10 UTC
For questions regarding web content and site functionality, please write to the net-snmp-users mail list.