| 1 |
/* |
| 2 |
* swrun_null.c: |
| 3 |
* hrSWRunTable 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/swrun.h> |
| 24 |
#include "swrun_private.h" |
| 25 |
|
| 26 |
/* --------------------------------------------------------------------- |
| 27 |
*/ |
| 28 |
void |
| 29 |
netsnmp_arch_swrun_init(void) |
| 30 |
{ |
| 31 |
/* Nothing to do */ |
| 32 |
return; |
| 33 |
} |
| 34 |
|
| 35 |
/* --------------------------------------------------------------------- |
| 36 |
*/ |
| 37 |
int |
| 38 |
netsnmp_arch_swrun_container_load( netsnmp_container *container, u_int flags) |
| 39 |
{ |
| 40 |
/* Nothing to do */ |
| 41 |
DEBUGMSGTL(("swrun:load:arch"," loaded %" NETSNMP_PRIz "u entries\n", |
| 42 |
CONTAINER_SIZE(container))); |
| 43 |
|
| 44 |
return 0; |
| 45 |
} |