diff options
author | Hideki Yamane <henrich@debian.org> | 2014-03-30 19:38:48 +0900 |
---|---|---|
committer | Hideki Yamane <henrich@debian.org> | 2014-03-30 19:38:48 +0900 |
commit | 7769a9595c3da9a35f31b42451b1f6c3ed4004fa (patch) | |
tree | 009bf8fd68af6bb1129e07dd8c1ed205010d81f8 /agent/mibgroup/if-mib/ifTable/ifTable_interface.h | |
parent | 2e7891b0311204e0ecd5dc4a4334df01f3a6a1b4 (diff) | |
download | pkg-net-snmp-7769a9595c3da9a35f31b42451b1f6c3ed4004fa.tar.gz |
Imported Upstream version 5.7.2~dfsg
Diffstat (limited to 'agent/mibgroup/if-mib/ifTable/ifTable_interface.h')
-rw-r--r-- | agent/mibgroup/if-mib/ifTable/ifTable_interface.h | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/agent/mibgroup/if-mib/ifTable/ifTable_interface.h b/agent/mibgroup/if-mib/ifTable/ifTable_interface.h new file mode 100644 index 0000000..be2028a --- /dev/null +++ b/agent/mibgroup/if-mib/ifTable/ifTable_interface.h @@ -0,0 +1,101 @@ +/* + * Note: this file originally auto-generated by mib2c using + * version : 1.67 $ of : mfd-interface.m2c,v $ + * + * $Id$ + */ +/** @ingroup misc + * @defgroup interface Routines to interface to Net-SNMP + * + * \warning This code should not be modified, called directly, + * or used to interpret functionality. It is subject to + * change at any time. + * + * @{ + */ +/* + * ********************************************************************* + * ********************************************************************* + * ********************************************************************* + * *** *** + * *** NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE *** + * *** *** + * *** *** + * *** THIS FILE DOES NOT CONTAIN ANY USER EDITABLE CODE. *** + * *** *** + * *** *** + * *** THE GENERATED CODE IS INTERNAL IMPLEMENTATION, AND *** + * *** *** + * *** *** + * *** IS SUBJECT TO CHANGE WITHOUT WARNING IN FUTURE RELEASES. *** + * *** *** + * *** *** + * ********************************************************************* + * ********************************************************************* + * ********************************************************************* + */ +#ifndef IFTABLE_INTERFACE_H +#define IFTABLE_INTERFACE_H + +#ifdef __cplusplus +extern "C" { +#endif + + +#include "ifTable.h" + + + /* + ******************************************************************** + * Table declarations + */ + + /* + * PUBLIC interface initialization routine + */ + void _ifTable_initialize_interface(ifTable_registration * + user_ctx, u_long flags); + void _ifTable_shutdown_interface(ifTable_registration * + user_ctx); + + ifTable_registration *ifTable_registration_get(void); + + ifTable_registration *ifTable_registration_set(ifTable_registration * + newreg); + + netsnmp_container *ifTable_container_get(void); + int ifTable_container_size(void); + + u_int ifTable_dirty_get(void); + void ifTable_dirty_set(u_int status); + + ifTable_rowreq_ctx *ifTable_allocate_rowreq_ctx(void *); + void ifTable_release_rowreq_ctx(ifTable_rowreq_ctx * + rowreq_ctx); + + int ifTable_index_to_oid(netsnmp_index * oid_idx, + ifTable_mib_index * mib_idx); + int ifTable_index_from_oid(netsnmp_index * oid_idx, + ifTable_mib_index * mib_idx); + + /* + * access to certain internals. use with caution! + */ + void ifTable_valid_columns_set(netsnmp_column_info *vc); + + /* + * special container init for shared ifTable/ifXTable container + */ + void if_mib_container_init(void); + + /* + */ + void ifTable_lastChange_set(u_long uptime); + + +#ifdef __cplusplus +} +#endif +#endif /* IFTABLE_INTERFACE_H */ +/** @} */ + |