diff options
Diffstat (limited to 'agent/mibgroup/ip-mib/data_access/scalars_common.h')
-rw-r--r-- | agent/mibgroup/ip-mib/data_access/scalars_common.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/agent/mibgroup/ip-mib/data_access/scalars_common.h b/agent/mibgroup/ip-mib/data_access/scalars_common.h new file mode 100644 index 0000000..2f0a63a --- /dev/null +++ b/agent/mibgroup/ip-mib/data_access/scalars_common.h @@ -0,0 +1,29 @@ +/* + * ip scalar data access header + * + * $Id$ + */ +/**---------------------------------------------------------------------*/ +/* + * configure required files + * + * Notes: + * + * 1) prefer functionality over platform, where possible. If a method + * is available for multiple platforms, test that first. That way + * when a new platform is ported, it won't need a new test here. + * + * 2) don't do detail requirements here. If, for example, + * HPUX11 had different reuirements than other HPUX, that should + * be handled in the *_hpux.h header file. + */ +#if defined( linux ) +config_require(ip-mib/data_access/scalars_linux) +#else +/* + * couldn't determine the correct file! + * require a bogus file to generate an error. + */ +config_require(ip-mib/data_access/scalars-unknown-arch) +#endif + |