Debian Codegraph @

agent/mibgroup/ip-mib/data_access/scalars_common.h

raw
1 /*
2 * ip scalar data access header
3 *
4 * $Id$
5 */
6 /**---------------------------------------------------------------------*/
7 /*
8 * configure required files
9 *
10 * Notes:
11 *
12 * 1) prefer functionality over platform, where possible. If a method
13 * is available for multiple platforms, test that first. That way
14 * when a new platform is ported, it won't need a new test here.
15 *
16 * 2) don't do detail requirements here. If, for example,
17 * HPUX11 had different reuirements than other HPUX, that should
18 * be handled in the *_hpux.h header file.
19 */
20 #if defined( linux )
21 config_require(ip-mib/data_access/scalars_linux);
22 #elif defined( freebsd4 ) || defined( netbsd5 ) || defined( openbsd4 ) || defined( dragonfly ) || defined( darwin )
23 config_require(ip-mib/data_access/scalars_sysctl);
24 #else
25 /*
26 * couldn't determine the correct file!
27 * require a bogus file to generate an error.
28 */
29 config_require(ip-mib/data_access/scalars-unknown-arch);
30 #endif