Debian Codegraph @

agent/mibgroup/sctp-mib/sctpLookupRemHostNameTable.h

raw
1 /*
2 * Note: this file originally auto-generated by mib2c using
3 * $
4 */
5 #ifndef SCTPLOOKUPREMHOSTNAMETABLE_H
6 #define SCTPLOOKUPREMHOSTNAMETABLE_H
7
8 #include "sctpTables_common.h"
9
10 /*
11 * function declarations
12 */
13 void init_sctpLookupRemHostNameTable(void);
14 void shutdown_sctpLookupRemHostNameTable(void);
15 void initialize_table_sctpLookupRemHostNameTable(void);
16 void shutdown_table_sctpLookupRemHostNameTable(void);
17 Netsnmp_Node_Handler sctpLookupRemHostNameTable_handler;
18
19 /*
20 * column number definitions for table sctpLookupRemHostNameTable
21 */
22 #define COLUMN_SCTPLOOKUPREMHOSTNAMESTARTTIME 1
23
24 #define SCTP_LOOKUP_REM_HOST_NAME_TABLE_INDEX_SIZE 270
25 /** Typical data structure for a row entry */
26 struct sctpLookupRemHostNameTable_entry_s {
27 netsnmp_index oid_index;
28 oid oid_tmp[SCTP_LOOKUP_REM_HOST_NAME_TABLE_INDEX_SIZE];
29
30 /*
31 * Index values
32 */
33 char sctpAssocRemHostName[SCTP_HOSTNAME_SIZE];
34 u_long sctpAssocRemHostName_len;
35 u_long sctpAssocId;
36
37 /*
38 * Column values
39 */
40 u_long sctpLookupRemHostNameStartTime;
41
42 int valid;
43 };
44
45 sctpLookupRemHostNameTable_entry*
46 sctpLookupRemHostNameTable_entry_create(void);
47
48 int
49 sctpLookupRemHostNameTable_entry_update_index(sctpLookupRemHostNameTable_entry *
50 entry);
51
52 void
53 sctpLookupRemHostNameTable_entry_copy(sctpLookupRemHostNameTable_entry *
54 from,
55 sctpLookupRemHostNameTable_entry *
56 to);
57
58 void
59 sctpLookupRemHostNameTable_entry_free(sctpLookupRemHostNameTable_entry *
60 entry);
61
62 void
63 sctpLookupRemHostNameTable_container_clear(netsnmp_container *container);
64
65 #endif /* SCTPLOOKUPREMHOSTNAMETABLE_H */