Debian Codegraph @

agent/mibgroup/sctp-mib/sctpLookupLocalPortTable.h

raw
1 /*
2 * Note: this file originally auto-generated by mib2c using
3 * $
4 */
5 #ifndef SCTPLOOKUPLOCALPORTTABLE_H
6 #define SCTPLOOKUPLOCALPORTTABLE_H
7
8 #include "sctpTables_common.h"
9
10 /*
11 * function declarations
12 */
13 void init_sctpLookupLocalPortTable(void);
14 void shutdown_sctpLookupLocalPortTable(void);
15 void initialize_table_sctpLookupLocalPortTable(void);
16 void shutdown_table_sctpLookupLocalPortTable(void);
17 Netsnmp_Node_Handler sctpLookupLocalPortTable_handler;
18
19 /*
20 * column number definitions for table sctpLookupLocalPortTable
21 */
22 #define COLUMN_SCTPLOOKUPLOCALPORTSTARTTIME 1
23
24 /** Typical data structure for a row entry */
25 #define SCTP_LOOKUP_LOCAL_PORT_TABLE_INDEX_SIZE 100
26 struct sctpLookupLocalPortTable_entry_s {
27 netsnmp_index oid_index;
28 oid oid_tmp[SCTP_LOOKUP_LOCAL_PORT_TABLE_INDEX_SIZE];
29
30 /*
31 * Index values
32 */
33 u_long sctpAssocLocalPort;
34 u_long sctpAssocId;
35
36 /*
37 * Column values
38 */
39 u_long sctpLookupLocalPortStartTime;
40
41 int valid;
42 };
43
44 sctpLookupLocalPortTable_entry*
45 sctpLookupLocalPortTable_entry_create(void);
46
47 int
48 sctpLookupLocalPortTable_entry_update_index(sctpLookupLocalPortTable_entry
49 * entry);
50 void
51 sctpLookupLocalPortTable_entry_copy(sctpLookupLocalPortTable_entry * from,
52 sctpLookupLocalPortTable_entry * to);
53 void
54 sctpLookupLocalPortTable_entry_free(sctpLookupLocalPortTable_entry *
55 entry);
56
57 void
58 sctpLookupLocalPortTable_container_clear(netsnmp_container *container);
59
60 #endif /* SCTPLOOKUPLOCALPORTTABLE_H */