diff options
-rw-r--r-- | hurd/hurd_types.defs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/hurd/hurd_types.defs b/hurd/hurd_types.defs index 541e8814..06dc265c 100644 --- a/hurd/hurd_types.defs +++ b/hurd/hurd_types.defs @@ -133,6 +133,20 @@ destructor: STARTUP_DESCTRUCTOR type proccoll_t = mach_port_copy_send_t; +type sreply_port_t = MACH_MSG_TYPE_MAKE_SEND_ONCE | polymorphic + ctype: mach_port_t; + +/* These macros are used in some .defs files so that every routine has a + server reply port argument #ifdef REPLY_PORTS. */ +#ifdef REPLY_PORTS +#define RPTDECL sreplyport reply: sreply_port_t +#define RPT RPTDECL; +#define RPTLAST ; RPTDECL +#else +#define RPTLAST +#define RPT +#endif + #ifdef USERPREFIX userprefix USERPREFIX; #endif |