Debian Codegraph @

agent/mibgroup/ip-mib/ipAddressTable/ipAddressTable_data_access.h

raw
1 /*
2 * Note: this file originally auto-generated by mib2c using
3 * version : 1.17 $ of : mfd-data-access.m2c,v $
4 *
5 * $Id$
6 */
7 #ifndef IPADDRESSTABLE_DATA_ACCESS_H
8 #define IPADDRESSTABLE_DATA_ACCESS_H
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14
15 /*
16 *********************************************************************
17 * function declarations
18 */
19
20 /*
21 *********************************************************************
22 * Table declarations
23 */
24 /**********************************************************************
25 **********************************************************************
26 ***
27 *** Table ipAddressTable
28 ***
29 **********************************************************************
30 **********************************************************************/
31 /*
32 * IP-MIB::ipAddressTable is subid 34 of ip.
33 * Its status is Current.
34 * OID: .1.3.6.1.2.1.4.34, length: 8
35 */
36
37
38 int ipAddressTable_init_data(ipAddressTable_registration *
39 ipAddressTable_reg);
40
41
42 /*
43 * TODO:180:o: Review ipAddressTable cache timeout.
44 * The number of seconds before the cache times out
45 */
46 #define IPADDRESSTABLE_CACHE_TIMEOUT 60
47
48 void ipAddressTable_container_init(netsnmp_container
49 **container_ptr_ptr,
50 netsnmp_cache * cache);
51 void ipAddressTable_container_shutdown(netsnmp_container
52 *container_ptr);
53
54 int ipAddressTable_container_load(netsnmp_container
55 *container);
56 void ipAddressTable_container_free(netsnmp_container
57 *container);
58
59 int ipAddressTable_cache_load(netsnmp_container
60 *container);
61 void ipAddressTable_cache_free(netsnmp_container
62 *container);
63
64 int ipAddressTable_row_prep(ipAddressTable_rowreq_ctx *
65 rowreq_ctx);
66
67 int
68 ipAddressTable_validate_index(ipAddressTable_registration *
69 ipAddressTable_reg,
70 ipAddressTable_rowreq_ctx *
71 rowreq_ctx);
72 int ipAddressAddrType_check_index(ipAddressTable_rowreq_ctx * rowreq_ctx); /* internal */
73 int ipAddressAddr_check_index(ipAddressTable_rowreq_ctx * rowreq_ctx); /* internal */
74
75
76 #ifdef __cplusplus
77 }
78 #endif
79 #endif /* IPADDRESSTABLE_DATA_ACCESS_H */