summaryrefslogtreecommitdiff
path: root/agent/mibgroup/hardware/memory/memory_null.c
blob: 54ca6df74d310e2c3de1e57fa3f1adb80c47466a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 *   dummy HAL memory module
 *      for systems not using any of the supported interfaces
 */
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>
#include <net-snmp/agent/hardware/memory.h>


    /*
     * We can't load the memory usage statistics
     *   because we don't know how to do this!
     */
int netsnmp_mem_arch_load( netsnmp_cache *cache, void *magic ) {

    return 0;  /* or -1 ? */
}