197 |
{ |
{ |
198 |
int dtr; |
int dtr; |
199 |
int rts; |
int rts; |
200 |
|
uint32 control, xonoff, onlimit, offlimit; |
201 |
uint32 baud_rate, |
uint32 baud_rate, |
202 |
queue_in_size, |
queue_in_size, |
203 |
queue_out_size, |
queue_out_size, |
207 |
read_total_timeout_constant, |
read_total_timeout_constant, |
208 |
write_total_timeout_multiplier, write_total_timeout_constant, posix_wait_mask; |
write_total_timeout_multiplier, write_total_timeout_constant, posix_wait_mask; |
209 |
uint8 stop_bits, parity, word_length; |
uint8 stop_bits, parity, word_length; |
210 |
|
uint8 chars[6]; |
211 |
struct termios *ptermios, *pold_termios; |
struct termios *ptermios, *pold_termios; |
212 |
|
int event_txempty, event_cts, event_dsr, event_rlsd, event_pending; |
213 |
} |
} |
214 |
SERIAL_DEVICE; |
SERIAL_DEVICE; |
215 |
|
|
238 |
} |
} |
239 |
PRINTER; |
PRINTER; |
240 |
|
|
241 |
|
typedef struct notify_data |
242 |
|
{ |
243 |
|
time_t modify_time; |
244 |
|
time_t status_time; |
245 |
|
time_t total_time; |
246 |
|
unsigned int num_entries; |
247 |
|
} |
248 |
|
NOTIFY; |
249 |
|
|
250 |
typedef struct fileinfo |
typedef struct fileinfo |
251 |
{ |
{ |
252 |
uint32 device_id, flags_and_attributes; |
uint32 device_id, flags_and_attributes, accessmask; |
253 |
char path[256]; |
char path[256]; |
254 |
DIR *pdir; |
DIR *pdir; |
255 |
struct dirent *pdirent; |
struct dirent *pdirent; |
256 |
char pattern[64]; |
char pattern[64]; |
257 |
BOOL delete_on_close; |
BOOL delete_on_close; |
258 |
|
NOTIFY notify; |
259 |
|
uint32 info_class; |
260 |
} |
} |
261 |
FILEINFO; |
FILEINFO; |