Debian Codegraph @

agent/mibgroup/host/data_access/swinst_null.c

raw
1 /*
2 * swinst_null.c:
3 * hrSWInstalledTable data access:
4 * dummy interface for non-supported systems
5 */
6 #include <net-snmp/net-snmp-config.h>
7
8 #include <stdio.h>
9 #ifdef HAVE_STDLIB_H
10 #include <stdlib.h>
11 #endif
12 #ifdef HAVE_UNISTD_H
13 #include <unistd.h>
14 #endif
15 #ifdef HAVE_SYS_TYPES_H
16 #include <sys/types.h>
17 #endif
18
19 #include <net-snmp/net-snmp-includes.h>
20 #include <net-snmp/agent/net-snmp-agent-includes.h>
21 #include <net-snmp/library/container.h>
22 #include <net-snmp/library/snmp_debug.h>
23 #include <net-snmp/data_access/swinst.h>
24 #include "swinst_private.h"
25
26 /* ---------------------------------------------------------------------
27 */
28 void
29 netsnmp_swinst_arch_init(void)
30 {
31 /* Nothing to do */
32 return;
33 }
34
35 void
36 netsnmp_swinst_arch_shutdown(void)
37 {
38 /* Nothing to do */
39 return;
40 }
41
42 /* ---------------------------------------------------------------------
43 */
44 int
45 netsnmp_swinst_arch_load( netsnmp_container *container, u_int flags)
46 {
47 /* Nothing to do */
48 DEBUGMSGTL(("swinst:load:arch"," loaded %" NETSNMP_PRIz "d entries\n",
49 CONTAINER_SIZE(container)));
50
51 return 0;
52 }