blob: ea14b5d94d9b585709d3403ff9178437602118b8 (
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
25
26
27
|
#ifndef H_PROBE
#define H_PROBE
#include "kudzu/kudzu.h"
struct kddevice {
char * name; /* malloced */
char * model;
enum deviceClass class;
int code;
};
struct knownDevices {
struct kddevice * known;
int numKnown;
int numKnownAlloced;
};
struct knownDevices kdInit(void);
int kdFindNetList(struct knownDevices * devices, int code);
int kdFindIdeList(struct knownDevices * devices, int code);
int kdFindScsiList(struct knownDevices * devices, int code);
void kdFree(struct knownDevices * devices);
void kdAddDevice(struct knownDevices * devices, enum deviceClass devClass,
char * devName, char * devModel);
#endif
|