Debian Codegraph @

agent/mibgroup/udp-mib/data_access/udp_endpoint_unsup.c

raw
1 /*
2 * udpEndpointTable MIB architecture support
3 */
4 #include <net-snmp/net-snmp-config.h>
5 #include <net-snmp/net-snmp-features.h>
6 #include <net-snmp/net-snmp-includes.h>
7 #include <net-snmp/agent/net-snmp-agent-includes.h>
8 #include <net-snmp/library/file_utils.h>
9 #include <net-snmp/library/text_utils.h>
10 #include <net-snmp/data_access/ipaddress.h>
11 #include <net-snmp/data_access/udp_endpoint.h>
12
13 /*
14 * initialize arch specific storage
15 *
16 * @retval 0: success
17 * @retval <0: error
18 */
19 #ifndef NETSNMP_FEATURE_REMOVE_UDP_ENDPOINT_WRITABLE
20 int
21 netsnmp_arch_udp_endpoint_entry_init(netsnmp_udp_endpoint_entry *entry)
22 {
23 return 0;
24 }
25
26 /*
27 * cleanup arch specific storage
28 */
29 void
30 netsnmp_arch_udp_endpoint_entry_cleanup(netsnmp_udp_endpoint_entry *entry)
31 {
32 }
33
34 /*
35 * copy arch specific storage
36 */
37 int
38 netsnmp_arch_udp_endpoint_entry_copy(netsnmp_udp_endpoint_entry *lhs,
39 netsnmp_udp_endpoint_entry *rhs)
40 {
41 return 0;
42 }
43
44 /*
45 * delete an entry
46 */
47 int
48 netsnmp_arch_udp_endpoint_delete(netsnmp_udp_endpoint_entry *entry)
49 {
50 return -1;
51 }
52 #endif /* NETSNMP_FEATURE_REMOVE_UDP_ENDPOINT_WRITABLE */
53
54
55 /**
56 *
57 * @retval 0 no errors
58 * @retval !0 errors
59 */
60 int
61 netsnmp_arch_udp_endpoint_container_load(netsnmp_container *container,
62 u_int load_flags )
63 {
64 return -1;
65 }