memory_null.c

来自「开发snmp的开发包有两个开放的SNMP开发库」· C语言 代码 · 共 19 行

C
19
字号
/* *   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 ? */}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?