|
|
1.1 root 1: #ifndef DEVADM_H
2: #define DEVADM_H
3:
4: /*
5: * This is a handy central header for those parts of the 'devadm' program that
6: * do not simply provide some library-like service. Here we declare some handy
7: * incomplete type declarations and some debugging definitions.
8: */
9:
10: #include <sys/compat.h>
11:
12:
13: /*
14: * For reading in symbols from the input files.
15: */
16:
17: #ifndef SYMBOL_T
18: #define SYMBOL_T
19: typedef struct symbol symbol_t;
20: #endif
21:
22:
23: /*
24: * Structure upon which I/O is based.
25: */
26:
27: #ifndef INPUT_T
28: #define INPUT_T
29: typedef struct input input_t;
30: #endif
31:
32:
33: /*
34: * Structure for holding all the data from a line in an 'sdevice' file
35: */
36:
37: typedef struct sdevice sdev_t;
38:
39:
40: /*
41: * Structure for holding all the data from a line in an 'mdevice' file
42: */
43:
44: typedef struct mdevice mdev_t;
45:
46:
47: /*
48: * Structure for holding the dynamic device assignments made on the basis of
49: * the 'mdevice' and 'sdevice' data.
50: */
51:
52: typedef struct extinfo extinfo_t;
53:
54:
55: /*
56: * Structure for holding all the data from a line in an 'mtune' file.
57: */
58:
59: typedef struct mtune mtune_t;
60:
61:
62: /*
63: * Structure for holding entire lists of 'mtune_t' entries.
64: */
65:
66: typedef struct mtlist mtlist_t;
67:
68:
69: /*
70: * Structure for holding all the data from a line in an 'stune' file.
71: */
72:
73: typedef struct stune stune_t;
74:
75:
76: #if TRACE
77: extern int do_debug;
78: #endif
79:
80:
81: EXTERN_C_BEGIN
82:
83: int report_mode PROTO ((void));
84: void report_conflict PROTO ((CONST unsigned char * _item1,
85: CONST unsigned char * _item2,
86: CONST char * _msg));
87:
88: EXTERN_C_END
89:
90: #endif /* ! defined (DEVADM_H) */
91:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.