/* * Note: this file originally auto-generated by mib2c using * version : 1.9 $ of : mfd-data-access.m2c,v $ * * $Id$ */ #ifndef IFTABLE_DATA_ACCESS_H #define IFTABLE_DATA_ACCESS_H #ifdef __cplusplus extern "C" { #endif /* ********************************************************************* * function declarations */ /* ********************************************************************* * Table declarations */ /********************************************************************** ********************************************************************** *** *** Table ifTable *** ********************************************************************** **********************************************************************/ /* * ifTable is subid 2 of interfaces. * It's status is Current. * OID: .1.3.6.1.2.1.2.2, length: 8 */ int ifTable_init_data(ifTable_registration_ptr ifTable_reg); void ifTable_container_init(netsnmp_container ** container_ptr_ptr, netsnmp_cache * cache); int ifTable_cache_load(netsnmp_container * container); void ifTable_cache_free(netsnmp_container * container); /* *************************************************** *** START EXAMPLE CODE *** ***---------------------------------------------***/ /* ********************************************************************* * Since we have no idea how you really access your data, we'll go with * a worst case example: a flat text file. */ #define MAX_LINE_SIZE 256 /* ***---------------------------------------------*** *** END EXAMPLE CODE *** ***************************************************/ int ifTable_row_prep(ifTable_rowreq_ctx * rowreq_ctx); #ifdef __cplusplus }; #endif #endif /* IFTABLE_DATA_ACCESS_H */