summaryrefslogtreecommitdiffstats
path: root/isys/probe.h
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-08-06 17:31:50 +0000
committerErik Troan <ewt@redhat.com>1999-08-06 17:31:50 +0000
commit71811712498cb63dd05df58af82ed648ff2fb451 (patch)
treee61bf3ebc299c99edce1ae49db3781174bcca710 /isys/probe.h
parent455fdb7027c443d558077703ee2ff932e5935d25 (diff)
downloadanaconda-71811712498cb63dd05df58af82ed648ff2fb451.tar.gz
anaconda-71811712498cb63dd05df58af82ed648ff2fb451.tar.xz
anaconda-71811712498cb63dd05df58af82ed648ff2fb451.zip
*** empty log message ***
Diffstat (limited to 'isys/probe.h')
-rw-r--r--isys/probe.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/isys/probe.h b/isys/probe.h
new file mode 100644
index 000000000..17840703a
--- /dev/null
+++ b/isys/probe.h
@@ -0,0 +1,24 @@
+#ifndef H_PROBE
+#define H_PROBE
+
+struct device {
+ char * name; /* malloced */
+ char * model;
+ enum deviceClass { DEVICE_UNKNOWN, DEVICE_DISK, DEVICE_CDROM, DEVICE_NET,
+ DEVICE_TAPE }
+ class;
+};
+
+struct knownDevices {
+ struct device * known;
+ int numKnown;
+ int numKnownAlloced;
+};
+
+struct knownDevices kdInit(void);
+int kdFindNetList(struct knownDevices * devices);
+int kdFindIdeList(struct knownDevices * devices);
+int kdFindScsiList(struct knownDevices * devices);
+void kdFree(struct knownDevices * devices);
+
+#endif