~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to agent/mibgroup/hardware/memory/memory_null.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2007-12-08 14:59:50 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20071208145950-u1tykhpw56nyzqik
Tags: 5.4.1~dfsg-4ubuntu1
* Merge from debian unstable.
* Remaining Ubuntu changes:
  - Remove stop links from rc0 and rc6
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - Symlink common files between the packages, CDBS ought to handle that
    for us automatically.
* The latest Debian changes has dropped history from the changelog. Slot in
  the Ubuntu changes as best I can. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
}