Debian Codegraph @

agent/mibgroup/if-mib/ifXTable/ifXTable_interface.h

raw
1 /*
2 * Note: this file originally auto-generated by mib2c using
3 * version : 1.67 $ of : mfd-interface.m2c,v $
4 *
5 * $Id$
6 */
7 /** @ingroup interface Routines to interface to Net-SNMP
8 *
9 * \warning This code should not be modified, called directly,
10 * or used to interpret functionality. It is subject to
11 * change at any time.
12 *
13 * @{
14 */
15 /*
16 * *********************************************************************
17 * *********************************************************************
18 * *********************************************************************
19 * *** ***
20 * *** NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE ***
21 * *** ***
22 * *** ***
23 * *** THIS FILE DOES NOT CONTAIN ANY USER EDITABLE CODE. ***
24 * *** ***
25 * *** ***
26 * *** THE GENERATED CODE IS INTERNAL IMPLEMENTATION, AND ***
27 * *** ***
28 * *** ***
29 * *** IS SUBJECT TO CHANGE WITHOUT WARNING IN FUTURE RELEASES. ***
30 * *** ***
31 * *** ***
32 * *********************************************************************
33 * *********************************************************************
34 * *********************************************************************
35 */
36 #ifndef IFXTABLE_INTERFACE_H
37 #define IFXTABLE_INTERFACE_H
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42
43
44 #include "ifXTable.h"
45
46 /*
47 ********************************************************************
48 * Table declarations
49 */
50
51 /*
52 * PUBLIC interface initialization routine
53 */
54 void _ifXTable_initialize_interface(ifXTable_registration *
55 user_ctx, u_long flags);
56 void _ifXTable_shutdown_interface(ifXTable_registration *
57 user_ctx);
58
59 ifXTable_registration *ifXTable_registration_get(void);
60
61 ifXTable_registration *ifXTable_registration_set(ifXTable_registration
62 * newreg);
63
64 netsnmp_container *ifXTable_container_get(void);
65 int ifXTable_container_size(void);
66
67 u_int ifXTable_dirty_get(void);
68 void ifXTable_dirty_set(u_int status);
69
70 ifXTable_rowreq_ctx *ifXTable_allocate_rowreq_ctx(void *);
71 void ifXTable_release_rowreq_ctx(ifXTable_rowreq_ctx *
72 rowreq_ctx);
73
74 int ifXTable_index_to_oid(netsnmp_index * oid_idx,
75 ifXTable_mib_index * mib_idx);
76 int ifXTable_index_from_oid(netsnmp_index * oid_idx,
77 ifXTable_mib_index * mib_idx);
78
79 /*
80 *********************************************************************
81 * Persistent declarations
82 */
83 /*
84 * persistence
85 */
86 #define LINE_TERM_CHAR '$'
87
88 void ifXTable_container_init_persistence(netsnmp_container
89 *container);
90 int ifXTable_container_should_save(ifXTable_rowreq_ctx *
91 rowreq_ctx);
92
93
94 /*
95 * access to certain internals. use with caution!
96 */
97 void ifXTable_valid_columns_set(netsnmp_column_info *vc);
98
99
100 #ifdef __cplusplus
101 }
102 #endif
103 #endif /* IFXTABLE_INTERFACE_H */
104 /** @} */
105