blob: 17840703a9bcf5784f76d86497a2af2e9e11e2e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
|