summaryrefslogtreecommitdiff
path: root/agent/mibgroup/tcp-mib/tcpListenerTable/tcpListenerTable_data_access.h
blob: 1787ccf4853c25493f04905fd93d3a4f71439418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
 * Note: this file originally auto-generated by mib2c using
 *       version : 1.17 $ of : mfd-data-access.m2c,v $
 *
 * $Id$
 */
#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 */