1 |
/* driver.h - The interface to and for a console client driver. |
/* driver.h - The interface to and for a console client driver. |
2 |
Copyright (C) 2002 Free Software Foundation, Inc. |
Copyright (C) 2002, 2005 Free Software Foundation, Inc. |
3 |
Written by Marcus Brinkmann. |
Written by Marcus Brinkmann. |
4 |
|
|
5 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
158 |
The function is allowed to fail if FORCE is 0. If FORCE is not |
The function is allowed to fail if FORCE is 0. If FORCE is not |
159 |
0, the driver should remove itself no matter what. */ |
0, the driver should remove itself no matter what. */ |
160 |
error_t (*fini) (void *handle, int force); |
error_t (*fini) (void *handle, int force); |
161 |
|
|
162 |
|
|
163 |
|
/* Save the status of the hardware. */ |
164 |
|
void (*save_status) (void *handle); |
165 |
|
|
166 |
|
/* Restore the status of the hardware. */ |
167 |
|
void (*restore_status) (void *handle); |
168 |
}; |
}; |
169 |
|
|
170 |
|
|