From 49eae3b568ca925e9f0f928f8fb6dd8457d7d0b0 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Sat, 1 Aug 2020 15:05:38 +1000 Subject: libmachdev: Introduce startup notification for clean rumpdisk shutdown Message-Id: <20200801050538.273196-1-damien@zamaudio.com> --- libmachdev/trivfs_server.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 libmachdev/trivfs_server.h (limited to 'libmachdev/trivfs_server.h') 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 +#include +#include + +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 */ + -- cgit v1.2.3