summaryrefslogtreecommitdiff
path: root/console-client/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'console-client/driver.h')
-rw-r--r--console-client/driver.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/console-client/driver.h b/console-client/driver.h
index ac8f5c98..aacd5890 100644
--- a/console-client/driver.h
+++ b/console-client/driver.h
@@ -1,5 +1,5 @@
/* driver.h - The interface to and for a console client driver.
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2005 Free Software Foundation, Inc.
Written by Marcus Brinkmann.
This file is part of the GNU Hurd.
@@ -158,6 +158,13 @@ struct driver_ops
The function is allowed to fail if FORCE is 0. If FORCE is not
0, the driver should remove itself no matter what. */
error_t (*fini) (void *handle, int force);
+
+
+ /* Save the status of the hardware. */
+ void (*save_status) (void *handle);
+
+ /* Restore the status of the hardware. */
+ void (*restore_status) (void *handle);
};