diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-11-29 12:47:14 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-11-29 12:47:14 +0100 |
commit | 87bc93725aea306e8bd4e4171622e4418869fc2f (patch) | |
tree | cb05ddefb862700b9f8f7b980597b0a11a3346eb /devnode/mig-mutate.h | |
parent | 226a9d9c34a2d187f978a25874488e5b07986d7c (diff) | |
download | hurd-87bc93725aea306e8bd4e4171622e4418869fc2f.tar.gz hurd-87bc93725aea306e8bd4e4171622e4418869fc2f.tar.bz2 hurd-87bc93725aea306e8bd4e4171622e4418869fc2f.zip |
Add devnode translator
* devnode: New directory
* Makefile (prog-subdirs): Add devnode.
Diffstat (limited to 'devnode/mig-mutate.h')
-rw-r--r-- | devnode/mig-mutate.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/devnode/mig-mutate.h b/devnode/mig-mutate.h new file mode 100644 index 00000000..0656014f --- /dev/null +++ b/devnode/mig-mutate.h @@ -0,0 +1,27 @@ +/* + Copyright (C) 2014 Free Software Foundation, Inc. + Written by Justus Winter. + + This file is part of the GNU Hurd. + + 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. If not, see <http://www.gnu.org/licenses/>. */ + +#define NOTIFY_INTRAN \ + port_info_t begin_using_port_info_port (mach_port_t) +#define NOTIFY_INTRAN_PAYLOAD \ + port_info_t begin_using_port_info_payload +#define NOTIFY_DESTRUCTOR \ + end_using_port_info (port_info_t) +#define NOTIFY_IMPORTS \ + import "libports/mig-decls.h"; |