summaryrefslogtreecommitdiff
path: root/hurd/hurd_types.defs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-06-28 22:47:56 +0000
committerRoland McGrath <roland@gnu.org>1994-06-28 22:47:56 +0000
commit7d899c7a924dba4041a492d78c2e5bfb78b777b7 (patch)
tree20b91369a798922b6752cf3181ccbabea07c16c9 /hurd/hurd_types.defs
parentf5829782108331fb197ed418ee2ebd532b28297f (diff)
Formerly hurd_types.defs.~50~
Diffstat (limited to 'hurd/hurd_types.defs')
-rw-r--r--hurd/hurd_types.defs14
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