Debian Codegraph @

agent/mibgroup/hardware/memory/memory_null.c

raw
1 /*
2 * dummy HAL memory module
3 * for systems not using any of the supported interfaces
4 */
5 #include <net-snmp/net-snmp-config.h>
6 #include <net-snmp/net-snmp-includes.h>
7 #include <net-snmp/agent/net-snmp-agent-includes.h>
8 #include <net-snmp/agent/hardware/memory.h>
9
10
11 /*
12 * We can't load the memory usage statistics
13 * because we don't know how to do this!
14 */
15 int netsnmp_mem_arch_load( netsnmp_cache *cache, void *magic ) {
16
17 return 0; /* or -1 ? */
18 }