summaryrefslogtreecommitdiff
path: root/agent/mibgroup/ip-mib/inetNetToMediaTable/inetNetToMediaTable_data_access.h
blob: cc0434b9ca555329d20973de5ec0999ba7d9b67c (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
74
75
76
77
78
79
80
81
82
83
84
/*
 * Note: this file originally auto-generated by mib2c using
 *       version : 1.17 $ of : mfd-data-access.m2c,v $
 *
 * $Id$
 */
#ifndef INETNETTOMEDIATABLE_DATA_ACCESS_H
#define INETNETTOMEDIATABLE_DATA_ACCESS_H

#ifdef __cplusplus
extern          "C" {
#endif


    /*
     *********************************************************************
     * function declarations
     */

    /*
     *********************************************************************
     * Table declarations
     */
/**********************************************************************
 **********************************************************************
 ***
 *** Table inetNetToMediaTable
 ***
 **********************************************************************
 **********************************************************************/
    /*
     * IP-MIB::inetNetToMediaTable is subid 35 of ip.
     * Its status is Current.
     * OID: .1.3.6.1.2.1.4.35, length: 8
     */


    int
        inetNetToMediaTable_init_data(inetNetToMediaTable_registration *
                                      inetNetToMediaTable_reg);


    /*
     * TODO:180:o: Review inetNetToMediaTable cache timeout.
     * The number of seconds before the cache times out
     */
#define INETNETTOMEDIATABLE_CACHE_TIMEOUT   60

    void            inetNetToMediaTable_container_init(netsnmp_container
                                                       **container_ptr_ptr,
                                                       netsnmp_cache *
                                                       cache);
    void
                    inetNetToMediaTable_container_shutdown(netsnmp_container
                                                           *container_ptr);

    int             inetNetToMediaTable_container_load(netsnmp_container
                                                       *container);
    void            inetNetToMediaTable_container_free(netsnmp_container
                                                       *container);

    int             inetNetToMediaTable_cache_load(netsnmp_container
                                                   *container);
    void            inetNetToMediaTable_cache_free(netsnmp_container
                                                   *container);

    int
        inetNetToMediaTable_row_prep(inetNetToMediaTable_rowreq_ctx *
                                     rowreq_ctx);

    int
        inetNetToMediaTable_validate_index(inetNetToMediaTable_registration
                                           * inetNetToMediaTable_reg,
                                           inetNetToMediaTable_rowreq_ctx *
                                           rowreq_ctx);
    int             inetNetToMediaIfIndex_check_index(inetNetToMediaTable_rowreq_ctx * rowreq_ctx);     /* internal */
    int             inetNetToMediaNetAddressType_check_index(inetNetToMediaTable_rowreq_ctx * rowreq_ctx);      /* internal */
    int             inetNetToMediaNetAddress_check_index(inetNetToMediaTable_rowreq_ctx * rowreq_ctx);  /* internal */


#ifdef __cplusplus
}
#endif
#endif                          /* INETNETTOMEDIATABLE_DATA_ACCESS_H */