diff options
author | Damien Zammit <damien@zamaudio.com> | 2020-08-01 15:05:38 +1000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-08-02 23:33:36 +0200 |
commit | 49eae3b568ca925e9f0f928f8fb6dd8457d7d0b0 (patch) | |
tree | 7d54b9ff7c9fafa3e70960d12f0a98c957a815dd /libmachdev/trivfs_server.h | |
parent | 304adff10d5bdeeb618a6633e3b80e51aa4585c6 (diff) | |
download | hurd-49eae3b568ca925e9f0f928f8fb6dd8457d7d0b0.tar.gz hurd-49eae3b568ca925e9f0f928f8fb6dd8457d7d0b0.tar.bz2 hurd-49eae3b568ca925e9f0f928f8fb6dd8457d7d0b0.zip |
libmachdev: Introduce startup notification for clean rumpdisk shutdown
Message-Id: <20200801050538.273196-1-damien@zamaudio.com>
Diffstat (limited to 'libmachdev/trivfs_server.h')
-rw-r--r-- | libmachdev/trivfs_server.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libmachdev/trivfs_server.h b/libmachdev/trivfs_server.h new file mode 100644 index 00000000..ae30a830 --- /dev/null +++ b/libmachdev/trivfs_server.h @@ -0,0 +1,33 @@ +/* + Copyright (C) 2020 Free Software Foundation, Inc. + + The GNU Hurd is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + The GNU Hurd is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with the GNU Hurd; see the file COPYING. If not, write to + the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifndef _MACHDEV_TRIVFS_SERVER_H +#define _MACHDEV_TRIVFS_SERVER_H + +#include <hurd/ports.h> +#include <hurd/trivfs.h> +#include <hurd.h> + +extern struct port_bucket *port_bucket; +extern struct port_class *trivfs_protid_class; +extern struct port_class *trivfs_cntl_class; +extern struct port_class *machdev_shutdown_notify_class; + +void arrange_shutdown_notification (void); + +#endif /* _MACHDEV_TRIVFS_SERVER_H */ + |