diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-28 10:40:56 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-12-07 15:38:18 +0100 |
commit | 4191267e600e4ff1d54cf42baa2b3a0c9a842844 (patch) | |
tree | c950c9a5adc1edd58bbb9fd6aa704c52d04c0038 /console | |
parent | edfeb493f9d95e64b747a11abb528d81da47b16a (diff) |
console: add a payload-aware intrans function
* console/priv.h (begin_using_protid_payload): New function.
* console/mutations.h: Add mutators.
Diffstat (limited to 'console')
-rw-r--r-- | console/mutations.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/console/mutations.h b/console/mutations.h index 4e1cc7e1..87906ccd 100644 --- a/console/mutations.h +++ b/console/mutations.h @@ -21,12 +21,15 @@ /* Only CPP macro definitions should go in this file. */ #define IO_INTRAN protid_t begin_using_protid_port (io_t) +#define IO_INTRAN_PAYLOAD protid_t begin_using_protid_payload #define IO_DESTRUCTOR end_using_protid_port (protid_t) #define TIOCTL_IMPORTS import "libnetfs/priv.h"; #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 \ |