| 1 |
/* |
| 2 |
* Note: this file originally auto-generated by mib2c using |
| 3 |
* version : 1.67 $ of : mfd-interface.m2c,v $ |
| 4 |
* |
| 5 |
* $Id$ |
| 6 |
*/ |
| 7 |
/** @ingroup misc |
| 8 |
* @defgroup interface Routines to interface to Net-SNMP |
| 9 |
* |
| 10 |
* \warning This code should not be modified, called directly, |
| 11 |
* or used to interpret functionality. It is subject to |
| 12 |
* change at any time. |
| 13 |
* |
| 14 |
* @{ |
| 15 |
*/ |
| 16 |
/* |
| 17 |
* ********************************************************************* |
| 18 |
* ********************************************************************* |
| 19 |
* ********************************************************************* |
| 20 |
* *** *** |
| 21 |
* *** NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE *** |
| 22 |
* *** *** |
| 23 |
* *** *** |
| 24 |
* *** THIS FILE DOES NOT CONTAIN ANY USER EDITABLE CODE. *** |
| 25 |
* *** *** |
| 26 |
* *** *** |
| 27 |
* *** THE GENERATED CODE IS INTERNAL IMPLEMENTATION, AND *** |
| 28 |
* *** *** |
| 29 |
* *** *** |
| 30 |
* *** IS SUBJECT TO CHANGE WITHOUT WARNING IN FUTURE RELEASES. *** |
| 31 |
* *** *** |
| 32 |
* *** *** |
| 33 |
* ********************************************************************* |
| 34 |
* ********************************************************************* |
| 35 |
* ********************************************************************* |
| 36 |
*/ |
| 37 |
#ifndef IFTABLE_INTERFACE_H |
| 38 |
#define IFTABLE_INTERFACE_H |
| 39 |
|
| 40 |
#ifdef __cplusplus |
| 41 |
extern "C" { |
| 42 |
#endif |
| 43 |
|
| 44 |
|
| 45 |
#include "ifTable.h" |
| 46 |
|
| 47 |
struct netsnmp_interface_entry_s; |
| 48 |
|
| 49 |
/* |
| 50 |
******************************************************************** |
| 51 |
* Table declarations |
| 52 |
*/ |
| 53 |
|
| 54 |
/* |
| 55 |
* PUBLIC interface initialization routine |
| 56 |
*/ |
| 57 |
void _ifTable_initialize_interface(ifTable_registration * |
| 58 |
user_ctx, u_long flags); |
| 59 |
void _ifTable_shutdown_interface(ifTable_registration * |
| 60 |
user_ctx); |
| 61 |
|
| 62 |
ifTable_registration *ifTable_registration_get(void); |
| 63 |
|
| 64 |
ifTable_registration *ifTable_registration_set(ifTable_registration * |
| 65 |
newreg); |
| 66 |
|
| 67 |
netsnmp_container *ifTable_container_get(void); |
| 68 |
int ifTable_container_size(void); |
| 69 |
|
| 70 |
u_int ifTable_dirty_get(void); |
| 71 |
void ifTable_dirty_set(u_int status); |
| 72 |
|
| 73 |
ifTable_rowreq_ctx *ifTable_allocate_rowreq_ctx(struct netsnmp_interface_entry_s *); |
| 74 |
void ifTable_release_rowreq_ctx(ifTable_rowreq_ctx * |
| 75 |
rowreq_ctx); |
| 76 |
|
| 77 |
int ifTable_index_to_oid(netsnmp_index * oid_idx, |
| 78 |
ifTable_mib_index * mib_idx); |
| 79 |
int ifTable_index_from_oid(netsnmp_index * oid_idx, |
| 80 |
ifTable_mib_index * mib_idx); |
| 81 |
|
| 82 |
/* |
| 83 |
* access to certain internals. use with caution! |
| 84 |
*/ |
| 85 |
void ifTable_valid_columns_set(netsnmp_column_info *vc); |
| 86 |
|
| 87 |
/* |
| 88 |
* special container init for shared ifTable/ifXTable container |
| 89 |
*/ |
| 90 |
void if_mib_container_init(void); |
| 91 |
|
| 92 |
/* |
| 93 |
*/ |
| 94 |
void ifTable_lastChange_set(u_long uptime); |
| 95 |
|
| 96 |
|
| 97 |
#ifdef __cplusplus |
| 98 |
} |
| 99 |
#endif |
| 100 |
#endif /* IFTABLE_INTERFACE_H */ |
| 101 |
/** @} */ |
| 102 |
|