1 #ifndef _JackRPCClient_user_
2 #define _JackRPCClient_user_
4 /* Module JackRPCClient */
8 #include <mach/boolean.h>
9 #include <mach/kern_return.h>
10 #include <mach/notify.h>
11 #include <mach/mach_types.h>
12 #include <mach/message.h>
13 #include <mach/mig_errors.h>
14 #include <mach/port.h>
17 #ifndef FUNCTION_PTR_T
18 #define FUNCTION_PTR_T
19 typedef void (*function_ptr_t
)(mach_port_t
, char *, mach_msg_type_number_t
);
22 function_ptr_t function
;
23 } function_table_entry
;
24 typedef function_table_entry
*function_table_t
;
25 #endif /* FUNCTION_PTR_T */
28 #ifndef JackRPCClient_MSG_COUNT
29 #define JackRPCClient_MSG_COUNT 2
30 #endif /* JackRPCClient_MSG_COUNT */
32 #include <mach/std_types.h>
35 #include <mach/mach_types.h>
38 #ifdef __BeforeMigUserHeader
40 #endif /* __BeforeMigUserHeader */
42 #include <sys/cdefs.h>
46 /* Routine rpc_jack_client_sync_notify */
51 #endif /* mig_external */
52 kern_return_t rpc_jack_client_sync_notify
54 mach_port_t client_port
,
56 client_name_t client_name
,
64 /* SimpleRoutine rpc_jack_client_async_notify */
69 #endif /* mig_external */
70 kern_return_t rpc_jack_client_async_notify
72 mach_port_t client_port
,
74 client_name_t client_name
,
83 /********************** Caution **************************/
84 /* The following data types should be used to calculate */
85 /* maximum message sizes only. The actual message may be */
86 /* smaller, and the position of the arguments within the */
87 /* message layout may vary from what is presented here. */
88 /* For example, if any of the arguments are variable- */
89 /* sized, and less than the maximum is sent, the data */
90 /* will be packed tight in the actual message to reduce */
91 /* the presence of holes. */
92 /********************** Caution **************************/
94 /* typedefs for all requests */
96 #ifndef __Request__JackRPCClient_subsystem__defined
97 #define __Request__JackRPCClient_subsystem__defined
99 #ifdef __MigPackStructs
103 mach_msg_header_t Head
;
106 client_name_t client_name
;
111 } __Request__rpc_jack_client_sync_notify_t
;
112 #ifdef __MigPackStructs
116 #ifdef __MigPackStructs
120 mach_msg_header_t Head
;
123 client_name_t client_name
;
128 } __Request__rpc_jack_client_async_notify_t
;
129 #ifdef __MigPackStructs
132 #endif /* !__Request__JackRPCClient_subsystem__defined */
134 /* union of all requests */
136 #ifndef __RequestUnion__JackRPCClient_subsystem__defined
137 #define __RequestUnion__JackRPCClient_subsystem__defined
138 union __RequestUnion__JackRPCClient_subsystem
{
139 __Request__rpc_jack_client_sync_notify_t Request_rpc_jack_client_sync_notify
;
140 __Request__rpc_jack_client_async_notify_t Request_rpc_jack_client_async_notify
;
142 #endif /* !__RequestUnion__JackRPCClient_subsystem__defined */
143 /* typedefs for all replies */
145 #ifndef __Reply__JackRPCClient_subsystem__defined
146 #define __Reply__JackRPCClient_subsystem__defined
148 #ifdef __MigPackStructs
152 mach_msg_header_t Head
;
154 kern_return_t RetCode
;
156 } __Reply__rpc_jack_client_sync_notify_t
;
157 #ifdef __MigPackStructs
161 #ifdef __MigPackStructs
165 mach_msg_header_t Head
;
167 kern_return_t RetCode
;
168 } __Reply__rpc_jack_client_async_notify_t
;
169 #ifdef __MigPackStructs
172 #endif /* !__Reply__JackRPCClient_subsystem__defined */
174 /* union of all replies */
176 #ifndef __ReplyUnion__JackRPCClient_subsystem__defined
177 #define __ReplyUnion__JackRPCClient_subsystem__defined
178 union __ReplyUnion__JackRPCClient_subsystem
{
179 __Reply__rpc_jack_client_sync_notify_t Reply_rpc_jack_client_sync_notify
;
180 __Reply__rpc_jack_client_async_notify_t Reply_rpc_jack_client_async_notify
;
182 #endif /* !__RequestUnion__JackRPCClient_subsystem__defined */
184 #ifndef subsystem_to_name_map_JackRPCClient
185 #define subsystem_to_name_map_JackRPCClient \
186 { "rpc_jack_client_sync_notify", 1000 },\
187 { "rpc_jack_client_async_notify", 1001 }
190 #ifdef __AfterMigUserHeader
192 #endif /* __AfterMigUserHeader */
194 #endif /* _JackRPCClient_user_ */