This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
make snmplib use CYGINT_IO_FILEIO_FS interface
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: eCos Patches <ecos-patches at sources dot redhat dot com>
- Date: Fri, 6 Dec 2002 17:18:16 +0100
- Subject: make snmplib use CYGINT_IO_FILEIO_FS interface
Hi folks
This patch supersedes part of my previous snmp patch. It changes the
cdl to make use of the CYGINT_IO_FILEIO_FS interface to determine if
there are any filesystems in the system.
Andrew
Index: net/snmp/lib/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos-opt/snmp/lib/current/ChangeLog,v
retrieving revision 1.8
diff -u -r1.8 ChangeLog
--- net/snmp/lib/current/ChangeLog 23 May 2002 23:08:14 -0000 1.8
+++ net/snmp/lib/current/ChangeLog 6 Dec 2002 16:15:34 -0000
@@ -1,3 +1,18 @@
+2002-12-06 Andrew Lunn <andrew.lunn@ascom.ch>
+
+ * cdl/snmplib.cdl: Make use of the CYGINT_IO_FILEIO_FS interface
+ to determine if there are any filesystems in the system.
+
+2002-11-11 Manu Sharma <manu.sharma@ascom.com>
+
+ * cdl/snmplib.cdl: Added new component
+ CYGPKG_SNMPLIB_FILESYSTEM_SUPPORT to support usage of the
+ snmpd.conf file based agent configuration.
+
+ * src/read_config.c: Include functions that read the snmpd.conf
+ file and setup the infrastructure based on configurations in
+ this file.
+
2002-02-01 Gary Thomas <gthomas@redhat.com>
* src/system.c:
Index: net/snmp/lib/current/cdl/snmplib.cdl
===================================================================
RCS file: /cvs/ecos/ecos-opt/snmp/lib/current/cdl/snmplib.cdl,v
retrieving revision 1.4
diff -u -r1.4 snmplib.cdl
--- net/snmp/lib/current/cdl/snmplib.cdl 23 May 2002 23:08:14 -0000 1.4
+++ net/snmp/lib/current/cdl/snmplib.cdl 6 Dec 2002 16:15:35 -0000
@@ -104,6 +104,30 @@
activity, often enough to make your SNMP client time out."
}
+ cdl_component CYGPKG_SNMPLIB_FILESYSTEM_SUPPORT {
+ display "SNMP file-system options"
+ description "
+ This option enables file-system dependent functionality,
+ eg snmp.conf"
+
+ requires CYGPKG_IO_FILEIO
+ requires { CYGINT_IO_FILEIO_FS > 0 }
+
+ flavor bool
+ default_value 0
+
+ cdl_option CYGPKG_SNMPLIB_PERSISTENT_FILESYSTEM {
+ display "Persistent filesystem support"
+ flavor bool
+ default_value 0
+ description "
+ This option enables functions that would require a
+ persistent file-system to be available. This
+ would be required if a system needs to save backups
+ of the snmpd.conf files."
+ }
+ }
+
cdl_component CYGPKG_SNMPLIB_OPTIONS {
display "SNMP library build options"
flavor none