diff options
Diffstat (limited to 'agent/mibgroup/tcp-mib/tcpListenerTable/tcpListenerTable_data_access.h')
-rw-r--r-- | agent/mibgroup/tcp-mib/tcpListenerTable/tcpListenerTable_data_access.h | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/agent/mibgroup/tcp-mib/tcpListenerTable/tcpListenerTable_data_access.h b/agent/mibgroup/tcp-mib/tcpListenerTable/tcpListenerTable_data_access.h new file mode 100644 index 0000000..3ec2e4c --- /dev/null +++ b/agent/mibgroup/tcp-mib/tcpListenerTable/tcpListenerTable_data_access.h @@ -0,0 +1,73 @@ +/* + * Note: this file originally auto-generated by mib2c using + * version : 1.17 $ of : mfd-data-access.m2c,v $ + * + * $Id: tcpListenerTable_data_access.h 13787 2005-12-02 18:05:59Z rstory $ + */ +#ifndef TCPLISTENERTABLE_DATA_ACCESS_H +#define TCPLISTENERTABLE_DATA_ACCESS_H + +#ifdef __cplusplus +extern "C" { +#endif + + + /* + ********************************************************************* + * function declarations + */ + + /* + ********************************************************************* + * Table declarations + */ +/********************************************************************** + ********************************************************************** + *** + *** Table tcpListenerTable + *** + ********************************************************************** + **********************************************************************/ + /* + * TCP-MIB::tcpListenerTable is subid 20 of tcp. + * Its status is Current. + * OID: .1.3.6.1.2.1.6.20, length: 8 + */ + + + int + tcpListenerTable_init_data(tcpListenerTable_registration * + tcpListenerTable_reg); + + + /* + * TODO:180:o: Review tcpListenerTable cache timeout. + * The number of seconds before the cache times out + */ +#define TCPLISTENERTABLE_CACHE_TIMEOUT 60 + + void tcpListenerTable_container_init(netsnmp_container + **container_ptr_ptr, + netsnmp_cache * cache); + void tcpListenerTable_container_shutdown(netsnmp_container + *container_ptr); + + int tcpListenerTable_container_load(netsnmp_container + *container); + void tcpListenerTable_container_free(netsnmp_container + *container); + + int tcpListenerTable_cache_load(netsnmp_container + *container); + void tcpListenerTable_cache_free(netsnmp_container + *container); + + int tcpListenerTable_row_prep(tcpListenerTable_rowreq_ctx * + rowreq_ctx); + + + +#ifdef __cplusplus +} +#endif +#endif /* TCPLISTENERTABLE_DATA_ACCESS_H */ |