summaryrefslogtreecommitdiff
path: root/agent/mibgroup/ip-forward-mib/data_access/route.h
diff options
context:
space:
mode:
Diffstat (limited to 'agent/mibgroup/ip-forward-mib/data_access/route.h')
-rw-r--r--agent/mibgroup/ip-forward-mib/data_access/route.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/agent/mibgroup/ip-forward-mib/data_access/route.h b/agent/mibgroup/ip-forward-mib/data_access/route.h
new file mode 100644
index 0000000..a2b4ee4
--- /dev/null
+++ b/agent/mibgroup/ip-forward-mib/data_access/route.h
@@ -0,0 +1,31 @@
+/*
+ * route 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.
+ */
+config_require(ip-forward-mib/data_access/route_common)
+
+#if defined( linux )
+config_require(ip-forward-mib/data_access/route_linux)
+config_require(ip-forward-mib/data_access/route_ioctl)
+#else
+config_error(the route data access library is not available in this environment.)
+#endif
+
+/** need interface for ifIndex */
+config_require(if-mib/data_access/interface)
+