Debian Codegraph @

agent/mibgroup/tcp-mib/data_access/tcpConn_unsup.c

raw
1 /*
2 * tcpConnTable MIB architecture support
3 */
4 #include <net-snmp/net-snmp-config.h>
5 #include <net-snmp/net-snmp-includes.h>
6 #include <net-snmp/agent/net-snmp-agent-includes.h>
7 #include <net-snmp/data_access/tcpConn.h>
8
9 /*
10 * initialize arch specific storage
11 *
12 * @retval 0: success
13 * @retval <0: error
14 */
15 int
16 netsnmp_arch_tcpconn_entry_init(netsnmp_tcpconn_entry *entry)
17 {
18 return 0;
19 }
20
21 /*
22 * cleanup arch specific storage
23 */
24 void
25 netsnmp_arch_tcpconn_entry_cleanup(netsnmp_tcpconn_entry *entry)
26 {
27 }
28
29 /*
30 * copy arch specific storage
31 */
32 int
33 netsnmp_arch_tcpconn_entry_copy(netsnmp_tcpconn_entry *lhs,
34 netsnmp_tcpconn_entry *rhs)
35 {
36 return 0;
37 }
38
39 #ifdef TCPCONN_DELETE_SUPPORTED
40 /*
41 * delete an entry
42 */
43 int
44 netsnmp_arch_tcpconn_entry_delete(netsnmp_tcpconn_entry *entry)
45 {
46 return -1;
47 }
48 #endif /* TCPCONN_DELETE_SUPPORTED */
49
50 /**
51 *
52 * @retval 0 no errors
53 * @retval !0 errors
54 */
55 int
56 netsnmp_arch_tcpconn_container_load(netsnmp_container *container,
57 u_int load_flags )
58 {
59 return -1;
60 }