jack2 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1196 lines
67KB

  1. /*
  2. * IDENTIFICATION:
  3. * stub generated Wed May 21 10:43:25 2008
  4. * with a MiG generated Tue Feb 19 02:01:43 PST 2008 by root@b75.local
  5. * OPTIONS:
  6. */
  7. /* Module JackRPCClient */
  8. #define __MIG_check__Request__JackRPCClient_subsystem__ 1
  9. #define __NDR_convert__Request__JackRPCClient_subsystem__ 1
  10. #include <string.h>
  11. #include <mach/ndr.h>
  12. #include <mach/boolean.h>
  13. #include <mach/kern_return.h>
  14. #include <mach/notify.h>
  15. #include <mach/mach_types.h>
  16. #include <mach/message.h>
  17. #include <mach/mig_errors.h>
  18. #include <mach/port.h>
  19. #include <mach/std_types.h>
  20. #include <mach/mig.h>
  21. #include <mach/mig.h>
  22. #include <mach/mach_types.h>
  23. #include "Jackdefs.h"
  24. #ifndef mig_internal
  25. #define mig_internal static __inline__
  26. #endif /* mig_internal */
  27. #ifndef mig_external
  28. #define mig_external
  29. #endif /* mig_external */
  30. #if !defined(__MigTypeCheck) && defined(TypeCheck)
  31. #define __MigTypeCheck TypeCheck /* Legacy setting */
  32. #endif /* !defined(__MigTypeCheck) */
  33. #if !defined(__MigKernelSpecificCode) && defined(_MIG_KERNEL_SPECIFIC_CODE_)
  34. #define __MigKernelSpecificCode _MIG_KERNEL_SPECIFIC_CODE_ /* Legacy setting */
  35. #endif /* !defined(__MigKernelSpecificCode) */
  36. #ifndef LimitCheck
  37. #define LimitCheck 0
  38. #endif /* LimitCheck */
  39. #ifndef min
  40. #define min(a,b) ( ((a) < (b))? (a): (b) )
  41. #endif /* min */
  42. #if !defined(_WALIGN_)
  43. #define _WALIGN_(x) (((x) + 3) & ~3)
  44. #endif /* !defined(_WALIGN_) */
  45. #if !defined(_WALIGNSZ_)
  46. #define _WALIGNSZ_(x) _WALIGN_(sizeof(x))
  47. #endif /* !defined(_WALIGNSZ_) */
  48. #ifndef UseStaticTemplates
  49. #define UseStaticTemplates 0
  50. #endif /* UseStaticTemplates */
  51. #ifndef __DeclareRcvRpc
  52. #define __DeclareRcvRpc(_NUM_, _NAME_)
  53. #endif /* __DeclareRcvRpc */
  54. #ifndef __BeforeRcvRpc
  55. #define __BeforeRcvRpc(_NUM_, _NAME_)
  56. #endif /* __BeforeRcvRpc */
  57. #ifndef __AfterRcvRpc
  58. #define __AfterRcvRpc(_NUM_, _NAME_)
  59. #endif /* __AfterRcvRpc */
  60. #ifndef __DeclareRcvSimple
  61. #define __DeclareRcvSimple(_NUM_, _NAME_)
  62. #endif /* __DeclareRcvSimple */
  63. #ifndef __BeforeRcvSimple
  64. #define __BeforeRcvSimple(_NUM_, _NAME_)
  65. #endif /* __BeforeRcvSimple */
  66. #ifndef __AfterRcvSimple
  67. #define __AfterRcvSimple(_NUM_, _NAME_)
  68. #endif /* __AfterRcvSimple */
  69. #define novalue void
  70. #define msgh_request_port msgh_local_port
  71. #define MACH_MSGH_BITS_REQUEST(bits) MACH_MSGH_BITS_LOCAL(bits)
  72. #define msgh_reply_port msgh_remote_port
  73. #define MACH_MSGH_BITS_REPLY(bits) MACH_MSGH_BITS_REMOTE(bits)
  74. #define MIG_RETURN_ERROR(X, code) {\
  75. ((mig_reply_error_t *)X)->RetCode = code;\
  76. ((mig_reply_error_t *)X)->NDR = NDR_record;\
  77. return;\
  78. }
  79. /* typedefs for all requests */
  80. #ifndef __Request__JackRPCClient_subsystem__defined
  81. #define __Request__JackRPCClient_subsystem__defined
  82. #ifdef __MigPackStructs
  83. #pragma pack(4)
  84. #endif
  85. typedef struct {
  86. mach_msg_header_t Head;
  87. NDR_record_t NDR;
  88. int refnum;
  89. client_name_t client_name;
  90. int notify;
  91. int value1;
  92. int value2;
  93. } __Request__rpc_jack_client_sync_notify_t;
  94. #ifdef __MigPackStructs
  95. #pragma pack()
  96. #endif
  97. #ifdef __MigPackStructs
  98. #pragma pack(4)
  99. #endif
  100. typedef struct {
  101. mach_msg_header_t Head;
  102. NDR_record_t NDR;
  103. int refnum;
  104. client_name_t client_name;
  105. int notify;
  106. int value1;
  107. int value2;
  108. } __Request__rpc_jack_client_async_notify_t;
  109. #ifdef __MigPackStructs
  110. #pragma pack()
  111. #endif
  112. #endif /* !__Request__JackRPCClient_subsystem__defined */
  113. /* typedefs for all replies */
  114. #ifndef __Reply__JackRPCClient_subsystem__defined
  115. #define __Reply__JackRPCClient_subsystem__defined
  116. #ifdef __MigPackStructs
  117. #pragma pack(4)
  118. #endif
  119. typedef struct {
  120. mach_msg_header_t Head;
  121. NDR_record_t NDR;
  122. kern_return_t RetCode;
  123. int result;
  124. } __Reply__rpc_jack_client_sync_notify_t;
  125. #ifdef __MigPackStructs
  126. #pragma pack()
  127. #endif
  128. #ifdef __MigPackStructs
  129. #pragma pack(4)
  130. #endif
  131. typedef struct {
  132. mach_msg_header_t Head;
  133. NDR_record_t NDR;
  134. kern_return_t RetCode;
  135. } __Reply__rpc_jack_client_async_notify_t;
  136. #ifdef __MigPackStructs
  137. #pragma pack()
  138. #endif
  139. #endif /* !__Reply__JackRPCClient_subsystem__defined */
  140. /* union of all replies */
  141. #ifndef __ReplyUnion__JackRPCClient_subsystem__defined
  142. #define __ReplyUnion__JackRPCClient_subsystem__defined
  143. union __ReplyUnion__JackRPCClient_subsystem {
  144. __Reply__rpc_jack_client_sync_notify_t Reply_rpc_jack_client_sync_notify;
  145. __Reply__rpc_jack_client_async_notify_t Reply_rpc_jack_client_async_notify;
  146. };
  147. #endif /* __RequestUnion__JackRPCClient_subsystem__defined */
  148. /* Forward Declarations */
  149. mig_internal novalue _Xrpc_jack_client_sync_notify
  150. (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
  151. mig_internal novalue _Xrpc_jack_client_async_notify
  152. (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);
  153. #if ( __MigTypeCheck || __NDR_convert__ )
  154. #if __MIG_check__Request__JackRPCClient_subsystem__
  155. #if !defined(__MIG_check__Request__rpc_jack_client_sync_notify_t__defined)
  156. #define __MIG_check__Request__rpc_jack_client_sync_notify_t__defined
  157. #ifndef __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  158. #if defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
  159. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  160. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
  161. __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
  162. #elif defined(__NDR_convert__int_rep__int__defined)
  163. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  164. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
  165. __NDR_convert__int_rep__int((int *)(a), f)
  166. #elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
  167. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  168. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
  169. __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  170. #elif defined(__NDR_convert__int_rep__int32_t__defined)
  171. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  172. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
  173. __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
  174. #endif /* defined(__NDR_convert__*__defined) */
  175. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined */
  176. #ifndef __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  177. #if defined(__NDR_convert__int_rep__JackRPCClient__client_name_t__defined)
  178. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  179. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
  180. __NDR_convert__int_rep__JackRPCClient__client_name_t((client_name_t *)(a), f)
  181. #elif defined(__NDR_convert__int_rep__client_name_t__defined)
  182. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  183. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
  184. __NDR_convert__int_rep__client_name_t((client_name_t *)(a), f)
  185. #elif defined(__NDR_convert__int_rep__JackRPCClient__string__defined)
  186. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  187. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
  188. __NDR_convert__int_rep__JackRPCClient__string(a, f, 128)
  189. #elif defined(__NDR_convert__int_rep__string__defined)
  190. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  191. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
  192. __NDR_convert__int_rep__string(a, f, 128)
  193. #endif /* defined(__NDR_convert__*__defined) */
  194. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined */
  195. #ifndef __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  196. #if defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
  197. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  198. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
  199. __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
  200. #elif defined(__NDR_convert__int_rep__int__defined)
  201. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  202. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
  203. __NDR_convert__int_rep__int((int *)(a), f)
  204. #elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
  205. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  206. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
  207. __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  208. #elif defined(__NDR_convert__int_rep__int32_t__defined)
  209. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  210. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
  211. __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
  212. #endif /* defined(__NDR_convert__*__defined) */
  213. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined */
  214. #ifndef __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  215. #if defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
  216. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  217. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
  218. __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
  219. #elif defined(__NDR_convert__int_rep__int__defined)
  220. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  221. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
  222. __NDR_convert__int_rep__int((int *)(a), f)
  223. #elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
  224. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  225. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
  226. __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  227. #elif defined(__NDR_convert__int_rep__int32_t__defined)
  228. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  229. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
  230. __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
  231. #endif /* defined(__NDR_convert__*__defined) */
  232. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined */
  233. #ifndef __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  234. #if defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
  235. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  236. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
  237. __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
  238. #elif defined(__NDR_convert__int_rep__int__defined)
  239. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  240. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
  241. __NDR_convert__int_rep__int((int *)(a), f)
  242. #elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
  243. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  244. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
  245. __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  246. #elif defined(__NDR_convert__int_rep__int32_t__defined)
  247. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  248. #define __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
  249. __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
  250. #endif /* defined(__NDR_convert__*__defined) */
  251. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined */
  252. #ifndef __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  253. #if defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
  254. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  255. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
  256. __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
  257. #elif defined(__NDR_convert__char_rep__int__defined)
  258. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  259. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
  260. __NDR_convert__char_rep__int((int *)(a), f)
  261. #elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
  262. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  263. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
  264. __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  265. #elif defined(__NDR_convert__char_rep__int32_t__defined)
  266. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  267. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
  268. __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
  269. #endif /* defined(__NDR_convert__*__defined) */
  270. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined */
  271. #ifndef __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  272. #if defined(__NDR_convert__char_rep__JackRPCClient__client_name_t__defined)
  273. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  274. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
  275. __NDR_convert__char_rep__JackRPCClient__client_name_t((client_name_t *)(a), f)
  276. #elif defined(__NDR_convert__char_rep__client_name_t__defined)
  277. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  278. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
  279. __NDR_convert__char_rep__client_name_t((client_name_t *)(a), f)
  280. #elif defined(__NDR_convert__char_rep__JackRPCClient__string__defined)
  281. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  282. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
  283. __NDR_convert__char_rep__JackRPCClient__string(a, f, 128)
  284. #elif defined(__NDR_convert__char_rep__string__defined)
  285. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  286. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
  287. __NDR_convert__char_rep__string(a, f, 128)
  288. #endif /* defined(__NDR_convert__*__defined) */
  289. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined */
  290. #ifndef __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  291. #if defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
  292. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  293. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
  294. __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
  295. #elif defined(__NDR_convert__char_rep__int__defined)
  296. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  297. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
  298. __NDR_convert__char_rep__int((int *)(a), f)
  299. #elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
  300. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  301. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
  302. __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  303. #elif defined(__NDR_convert__char_rep__int32_t__defined)
  304. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  305. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
  306. __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
  307. #endif /* defined(__NDR_convert__*__defined) */
  308. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined */
  309. #ifndef __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  310. #if defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
  311. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  312. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
  313. __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
  314. #elif defined(__NDR_convert__char_rep__int__defined)
  315. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  316. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
  317. __NDR_convert__char_rep__int((int *)(a), f)
  318. #elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
  319. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  320. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
  321. __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  322. #elif defined(__NDR_convert__char_rep__int32_t__defined)
  323. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  324. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
  325. __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
  326. #endif /* defined(__NDR_convert__*__defined) */
  327. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined */
  328. #ifndef __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  329. #if defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
  330. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  331. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
  332. __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
  333. #elif defined(__NDR_convert__char_rep__int__defined)
  334. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  335. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
  336. __NDR_convert__char_rep__int((int *)(a), f)
  337. #elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
  338. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  339. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
  340. __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  341. #elif defined(__NDR_convert__char_rep__int32_t__defined)
  342. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  343. #define __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
  344. __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
  345. #endif /* defined(__NDR_convert__*__defined) */
  346. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined */
  347. #ifndef __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  348. #if defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
  349. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  350. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
  351. __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
  352. #elif defined(__NDR_convert__float_rep__int__defined)
  353. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  354. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
  355. __NDR_convert__float_rep__int((int *)(a), f)
  356. #elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
  357. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  358. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
  359. __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  360. #elif defined(__NDR_convert__float_rep__int32_t__defined)
  361. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
  362. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
  363. __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
  364. #endif /* defined(__NDR_convert__*__defined) */
  365. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined */
  366. #ifndef __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  367. #if defined(__NDR_convert__float_rep__JackRPCClient__client_name_t__defined)
  368. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  369. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
  370. __NDR_convert__float_rep__JackRPCClient__client_name_t((client_name_t *)(a), f)
  371. #elif defined(__NDR_convert__float_rep__client_name_t__defined)
  372. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  373. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
  374. __NDR_convert__float_rep__client_name_t((client_name_t *)(a), f)
  375. #elif defined(__NDR_convert__float_rep__JackRPCClient__string__defined)
  376. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  377. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
  378. __NDR_convert__float_rep__JackRPCClient__string(a, f, 128)
  379. #elif defined(__NDR_convert__float_rep__string__defined)
  380. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
  381. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
  382. __NDR_convert__float_rep__string(a, f, 128)
  383. #endif /* defined(__NDR_convert__*__defined) */
  384. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined */
  385. #ifndef __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  386. #if defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
  387. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  388. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
  389. __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
  390. #elif defined(__NDR_convert__float_rep__int__defined)
  391. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  392. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
  393. __NDR_convert__float_rep__int((int *)(a), f)
  394. #elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
  395. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  396. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
  397. __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  398. #elif defined(__NDR_convert__float_rep__int32_t__defined)
  399. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
  400. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
  401. __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
  402. #endif /* defined(__NDR_convert__*__defined) */
  403. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined */
  404. #ifndef __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  405. #if defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
  406. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  407. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
  408. __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
  409. #elif defined(__NDR_convert__float_rep__int__defined)
  410. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  411. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
  412. __NDR_convert__float_rep__int((int *)(a), f)
  413. #elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
  414. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  415. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
  416. __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  417. #elif defined(__NDR_convert__float_rep__int32_t__defined)
  418. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
  419. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
  420. __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
  421. #endif /* defined(__NDR_convert__*__defined) */
  422. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined */
  423. #ifndef __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  424. #if defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
  425. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  426. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
  427. __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
  428. #elif defined(__NDR_convert__float_rep__int__defined)
  429. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  430. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
  431. __NDR_convert__float_rep__int((int *)(a), f)
  432. #elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
  433. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  434. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
  435. __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  436. #elif defined(__NDR_convert__float_rep__int32_t__defined)
  437. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
  438. #define __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
  439. __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
  440. #endif /* defined(__NDR_convert__*__defined) */
  441. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined */
  442. mig_internal kern_return_t __MIG_check__Request__rpc_jack_client_sync_notify_t(__attribute__((__unused__)) __Request__rpc_jack_client_sync_notify_t *In0P)
  443. {
  444. typedef __Request__rpc_jack_client_sync_notify_t __Request;
  445. #if __MigTypeCheck
  446. if ((In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
  447. (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
  448. return MIG_BAD_ARGUMENTS;
  449. #endif /* __MigTypeCheck */
  450. #if defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined) || \
  451. defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined) || \
  452. defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined) || \
  453. defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined) || \
  454. defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined)
  455. if (In0P->NDR.int_rep != NDR_record.int_rep) {
  456. #if defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined)
  457. __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum(&In0P->refnum, In0P->NDR.int_rep);
  458. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined */
  459. #if defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined)
  460. __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name(&In0P->client_name, In0P->NDR.int_rep);
  461. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined */
  462. #if defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined)
  463. __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify(&In0P->notify, In0P->NDR.int_rep);
  464. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined */
  465. #if defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined)
  466. __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1(&In0P->value1, In0P->NDR.int_rep);
  467. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined */
  468. #if defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined)
  469. __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2(&In0P->value2, In0P->NDR.int_rep);
  470. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined */
  471. }
  472. #endif /* defined(__NDR_convert__int_rep...) */
  473. #if defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined) || \
  474. defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined) || \
  475. defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined) || \
  476. defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined) || \
  477. defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined)
  478. if (In0P->NDR.char_rep != NDR_record.char_rep) {
  479. #if defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined)
  480. __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum(&In0P->refnum, In0P->NDR.char_rep);
  481. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined */
  482. #if defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined)
  483. __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name(&In0P->client_name, In0P->NDR.char_rep);
  484. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined */
  485. #if defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined)
  486. __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify(&In0P->notify, In0P->NDR.char_rep);
  487. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined */
  488. #if defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined)
  489. __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1(&In0P->value1, In0P->NDR.char_rep);
  490. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined */
  491. #if defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined)
  492. __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2(&In0P->value2, In0P->NDR.char_rep);
  493. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined */
  494. }
  495. #endif /* defined(__NDR_convert__char_rep...) */
  496. #if defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined) || \
  497. defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined) || \
  498. defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined) || \
  499. defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined) || \
  500. defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined)
  501. if (In0P->NDR.float_rep != NDR_record.float_rep) {
  502. #if defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined)
  503. __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum(&In0P->refnum, In0P->NDR.float_rep);
  504. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined */
  505. #if defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined)
  506. __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name(&In0P->client_name, In0P->NDR.float_rep);
  507. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined */
  508. #if defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined)
  509. __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify(&In0P->notify, In0P->NDR.float_rep);
  510. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined */
  511. #if defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined)
  512. __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1(&In0P->value1, In0P->NDR.float_rep);
  513. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined */
  514. #if defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined)
  515. __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2(&In0P->value2, In0P->NDR.float_rep);
  516. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined */
  517. }
  518. #endif /* defined(__NDR_convert__float_rep...) */
  519. return MACH_MSG_SUCCESS;
  520. }
  521. #endif /* !defined(__MIG_check__Request__rpc_jack_client_sync_notify_t__defined) */
  522. #endif /* __MIG_check__Request__JackRPCClient_subsystem__ */
  523. #endif /* ( __MigTypeCheck || __NDR_convert__ ) */
  524. /* Routine rpc_jack_client_sync_notify */
  525. #ifdef mig_external
  526. mig_external
  527. #else
  528. extern
  529. #endif /* mig_external */
  530. kern_return_t rpc_jack_client_sync_notify
  531. (
  532. mach_port_t client_port,
  533. int refnum,
  534. client_name_t client_name,
  535. int notify,
  536. int value1,
  537. int value2,
  538. int *result
  539. );
  540. /* Routine rpc_jack_client_sync_notify */
  541. mig_internal novalue _Xrpc_jack_client_sync_notify
  542. (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
  543. {
  544. #ifdef __MigPackStructs
  545. #pragma pack(4)
  546. #endif
  547. typedef struct {
  548. mach_msg_header_t Head;
  549. NDR_record_t NDR;
  550. int refnum;
  551. client_name_t client_name;
  552. int notify;
  553. int value1;
  554. int value2;
  555. mach_msg_trailer_t trailer;
  556. } Request;
  557. #ifdef __MigPackStructs
  558. #pragma pack()
  559. #endif
  560. typedef __Request__rpc_jack_client_sync_notify_t __Request;
  561. typedef __Reply__rpc_jack_client_sync_notify_t Reply;
  562. /*
  563. * typedef struct {
  564. * mach_msg_header_t Head;
  565. * NDR_record_t NDR;
  566. * kern_return_t RetCode;
  567. * } mig_reply_error_t;
  568. */
  569. Request *In0P = (Request *) InHeadP;
  570. Reply *OutP = (Reply *) OutHeadP;
  571. #ifdef __MIG_check__Request__rpc_jack_client_sync_notify_t__defined
  572. kern_return_t check_result;
  573. #endif /* __MIG_check__Request__rpc_jack_client_sync_notify_t__defined */
  574. __DeclareRcvRpc(1000, "rpc_jack_client_sync_notify")
  575. __BeforeRcvRpc(1000, "rpc_jack_client_sync_notify")
  576. #if defined(__MIG_check__Request__rpc_jack_client_sync_notify_t__defined)
  577. check_result = __MIG_check__Request__rpc_jack_client_sync_notify_t((__Request *)In0P);
  578. if (check_result != MACH_MSG_SUCCESS)
  579. { MIG_RETURN_ERROR(OutP, check_result); }
  580. #endif /* defined(__MIG_check__Request__rpc_jack_client_sync_notify_t__defined) */
  581. OutP->RetCode = rpc_jack_client_sync_notify(In0P->Head.msgh_request_port, In0P->refnum, In0P->client_name, In0P->notify, In0P->value1, In0P->value2, &OutP->result);
  582. if (OutP->RetCode != KERN_SUCCESS) {
  583. MIG_RETURN_ERROR(OutP, OutP->RetCode);
  584. }
  585. OutP->NDR = NDR_record;
  586. OutP->Head.msgh_size = (mach_msg_size_t)(sizeof(Reply));
  587. __AfterRcvRpc(1000, "rpc_jack_client_sync_notify")
  588. }
  589. #if ( __MigTypeCheck || __NDR_convert__ )
  590. #if __MIG_check__Request__JackRPCClient_subsystem__
  591. #if !defined(__MIG_check__Request__rpc_jack_client_async_notify_t__defined)
  592. #define __MIG_check__Request__rpc_jack_client_async_notify_t__defined
  593. #ifndef __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  594. #if defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
  595. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  596. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
  597. __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
  598. #elif defined(__NDR_convert__int_rep__int__defined)
  599. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  600. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
  601. __NDR_convert__int_rep__int((int *)(a), f)
  602. #elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
  603. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  604. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
  605. __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  606. #elif defined(__NDR_convert__int_rep__int32_t__defined)
  607. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  608. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
  609. __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
  610. #endif /* defined(__NDR_convert__*__defined) */
  611. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined */
  612. #ifndef __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  613. #if defined(__NDR_convert__int_rep__JackRPCClient__client_name_t__defined)
  614. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  615. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
  616. __NDR_convert__int_rep__JackRPCClient__client_name_t((client_name_t *)(a), f)
  617. #elif defined(__NDR_convert__int_rep__client_name_t__defined)
  618. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  619. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
  620. __NDR_convert__int_rep__client_name_t((client_name_t *)(a), f)
  621. #elif defined(__NDR_convert__int_rep__JackRPCClient__string__defined)
  622. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  623. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
  624. __NDR_convert__int_rep__JackRPCClient__string(a, f, 128)
  625. #elif defined(__NDR_convert__int_rep__string__defined)
  626. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  627. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
  628. __NDR_convert__int_rep__string(a, f, 128)
  629. #endif /* defined(__NDR_convert__*__defined) */
  630. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined */
  631. #ifndef __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  632. #if defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
  633. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  634. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
  635. __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
  636. #elif defined(__NDR_convert__int_rep__int__defined)
  637. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  638. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
  639. __NDR_convert__int_rep__int((int *)(a), f)
  640. #elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
  641. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  642. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
  643. __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  644. #elif defined(__NDR_convert__int_rep__int32_t__defined)
  645. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  646. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
  647. __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
  648. #endif /* defined(__NDR_convert__*__defined) */
  649. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined */
  650. #ifndef __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  651. #if defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
  652. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  653. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
  654. __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
  655. #elif defined(__NDR_convert__int_rep__int__defined)
  656. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  657. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
  658. __NDR_convert__int_rep__int((int *)(a), f)
  659. #elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
  660. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  661. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
  662. __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  663. #elif defined(__NDR_convert__int_rep__int32_t__defined)
  664. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  665. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
  666. __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
  667. #endif /* defined(__NDR_convert__*__defined) */
  668. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined */
  669. #ifndef __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  670. #if defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
  671. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  672. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
  673. __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
  674. #elif defined(__NDR_convert__int_rep__int__defined)
  675. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  676. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
  677. __NDR_convert__int_rep__int((int *)(a), f)
  678. #elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
  679. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  680. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
  681. __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  682. #elif defined(__NDR_convert__int_rep__int32_t__defined)
  683. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  684. #define __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
  685. __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
  686. #endif /* defined(__NDR_convert__*__defined) */
  687. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined */
  688. #ifndef __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  689. #if defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
  690. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  691. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
  692. __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
  693. #elif defined(__NDR_convert__char_rep__int__defined)
  694. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  695. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
  696. __NDR_convert__char_rep__int((int *)(a), f)
  697. #elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
  698. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  699. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
  700. __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  701. #elif defined(__NDR_convert__char_rep__int32_t__defined)
  702. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  703. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
  704. __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
  705. #endif /* defined(__NDR_convert__*__defined) */
  706. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined */
  707. #ifndef __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  708. #if defined(__NDR_convert__char_rep__JackRPCClient__client_name_t__defined)
  709. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  710. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
  711. __NDR_convert__char_rep__JackRPCClient__client_name_t((client_name_t *)(a), f)
  712. #elif defined(__NDR_convert__char_rep__client_name_t__defined)
  713. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  714. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
  715. __NDR_convert__char_rep__client_name_t((client_name_t *)(a), f)
  716. #elif defined(__NDR_convert__char_rep__JackRPCClient__string__defined)
  717. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  718. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
  719. __NDR_convert__char_rep__JackRPCClient__string(a, f, 128)
  720. #elif defined(__NDR_convert__char_rep__string__defined)
  721. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  722. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
  723. __NDR_convert__char_rep__string(a, f, 128)
  724. #endif /* defined(__NDR_convert__*__defined) */
  725. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined */
  726. #ifndef __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  727. #if defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
  728. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  729. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
  730. __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
  731. #elif defined(__NDR_convert__char_rep__int__defined)
  732. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  733. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
  734. __NDR_convert__char_rep__int((int *)(a), f)
  735. #elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
  736. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  737. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
  738. __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  739. #elif defined(__NDR_convert__char_rep__int32_t__defined)
  740. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  741. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
  742. __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
  743. #endif /* defined(__NDR_convert__*__defined) */
  744. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined */
  745. #ifndef __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  746. #if defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
  747. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  748. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
  749. __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
  750. #elif defined(__NDR_convert__char_rep__int__defined)
  751. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  752. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
  753. __NDR_convert__char_rep__int((int *)(a), f)
  754. #elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
  755. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  756. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
  757. __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  758. #elif defined(__NDR_convert__char_rep__int32_t__defined)
  759. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  760. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
  761. __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
  762. #endif /* defined(__NDR_convert__*__defined) */
  763. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined */
  764. #ifndef __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  765. #if defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
  766. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  767. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
  768. __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
  769. #elif defined(__NDR_convert__char_rep__int__defined)
  770. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  771. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
  772. __NDR_convert__char_rep__int((int *)(a), f)
  773. #elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
  774. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  775. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
  776. __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  777. #elif defined(__NDR_convert__char_rep__int32_t__defined)
  778. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  779. #define __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
  780. __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
  781. #endif /* defined(__NDR_convert__*__defined) */
  782. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined */
  783. #ifndef __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  784. #if defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
  785. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  786. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
  787. __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
  788. #elif defined(__NDR_convert__float_rep__int__defined)
  789. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  790. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
  791. __NDR_convert__float_rep__int((int *)(a), f)
  792. #elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
  793. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  794. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
  795. __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  796. #elif defined(__NDR_convert__float_rep__int32_t__defined)
  797. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
  798. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
  799. __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
  800. #endif /* defined(__NDR_convert__*__defined) */
  801. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined */
  802. #ifndef __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  803. #if defined(__NDR_convert__float_rep__JackRPCClient__client_name_t__defined)
  804. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  805. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
  806. __NDR_convert__float_rep__JackRPCClient__client_name_t((client_name_t *)(a), f)
  807. #elif defined(__NDR_convert__float_rep__client_name_t__defined)
  808. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  809. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
  810. __NDR_convert__float_rep__client_name_t((client_name_t *)(a), f)
  811. #elif defined(__NDR_convert__float_rep__JackRPCClient__string__defined)
  812. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  813. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
  814. __NDR_convert__float_rep__JackRPCClient__string(a, f, 128)
  815. #elif defined(__NDR_convert__float_rep__string__defined)
  816. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
  817. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
  818. __NDR_convert__float_rep__string(a, f, 128)
  819. #endif /* defined(__NDR_convert__*__defined) */
  820. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined */
  821. #ifndef __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  822. #if defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
  823. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  824. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
  825. __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
  826. #elif defined(__NDR_convert__float_rep__int__defined)
  827. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  828. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
  829. __NDR_convert__float_rep__int((int *)(a), f)
  830. #elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
  831. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  832. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
  833. __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  834. #elif defined(__NDR_convert__float_rep__int32_t__defined)
  835. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined
  836. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
  837. __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
  838. #endif /* defined(__NDR_convert__*__defined) */
  839. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined */
  840. #ifndef __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  841. #if defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
  842. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  843. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
  844. __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
  845. #elif defined(__NDR_convert__float_rep__int__defined)
  846. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  847. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
  848. __NDR_convert__float_rep__int((int *)(a), f)
  849. #elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
  850. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  851. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
  852. __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  853. #elif defined(__NDR_convert__float_rep__int32_t__defined)
  854. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined
  855. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
  856. __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
  857. #endif /* defined(__NDR_convert__*__defined) */
  858. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined */
  859. #ifndef __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  860. #if defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
  861. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  862. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
  863. __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
  864. #elif defined(__NDR_convert__float_rep__int__defined)
  865. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  866. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
  867. __NDR_convert__float_rep__int((int *)(a), f)
  868. #elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
  869. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  870. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
  871. __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
  872. #elif defined(__NDR_convert__float_rep__int32_t__defined)
  873. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined
  874. #define __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
  875. __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
  876. #endif /* defined(__NDR_convert__*__defined) */
  877. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined */
  878. mig_internal kern_return_t __MIG_check__Request__rpc_jack_client_async_notify_t(__attribute__((__unused__)) __Request__rpc_jack_client_async_notify_t *In0P)
  879. {
  880. typedef __Request__rpc_jack_client_async_notify_t __Request;
  881. #if __MigTypeCheck
  882. if ((In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
  883. (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
  884. return MIG_BAD_ARGUMENTS;
  885. #endif /* __MigTypeCheck */
  886. #if defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined) || \
  887. defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined) || \
  888. defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined) || \
  889. defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined) || \
  890. defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined)
  891. if (In0P->NDR.int_rep != NDR_record.int_rep) {
  892. #if defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined)
  893. __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum(&In0P->refnum, In0P->NDR.int_rep);
  894. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined */
  895. #if defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined)
  896. __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name(&In0P->client_name, In0P->NDR.int_rep);
  897. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined */
  898. #if defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined)
  899. __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify(&In0P->notify, In0P->NDR.int_rep);
  900. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined */
  901. #if defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined)
  902. __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1(&In0P->value1, In0P->NDR.int_rep);
  903. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined */
  904. #if defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined)
  905. __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2(&In0P->value2, In0P->NDR.int_rep);
  906. #endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined */
  907. }
  908. #endif /* defined(__NDR_convert__int_rep...) */
  909. #if defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined) || \
  910. defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined) || \
  911. defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined) || \
  912. defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined) || \
  913. defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined)
  914. if (In0P->NDR.char_rep != NDR_record.char_rep) {
  915. #if defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined)
  916. __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum(&In0P->refnum, In0P->NDR.char_rep);
  917. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined */
  918. #if defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined)
  919. __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name(&In0P->client_name, In0P->NDR.char_rep);
  920. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined */
  921. #if defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined)
  922. __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify(&In0P->notify, In0P->NDR.char_rep);
  923. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined */
  924. #if defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined)
  925. __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1(&In0P->value1, In0P->NDR.char_rep);
  926. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined */
  927. #if defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined)
  928. __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2(&In0P->value2, In0P->NDR.char_rep);
  929. #endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined */
  930. }
  931. #endif /* defined(__NDR_convert__char_rep...) */
  932. #if defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined) || \
  933. defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined) || \
  934. defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined) || \
  935. defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined) || \
  936. defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined)
  937. if (In0P->NDR.float_rep != NDR_record.float_rep) {
  938. #if defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined)
  939. __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum(&In0P->refnum, In0P->NDR.float_rep);
  940. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined */
  941. #if defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined)
  942. __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name(&In0P->client_name, In0P->NDR.float_rep);
  943. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined */
  944. #if defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined)
  945. __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify(&In0P->notify, In0P->NDR.float_rep);
  946. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined */
  947. #if defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined)
  948. __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1(&In0P->value1, In0P->NDR.float_rep);
  949. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined */
  950. #if defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined)
  951. __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2(&In0P->value2, In0P->NDR.float_rep);
  952. #endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined */
  953. }
  954. #endif /* defined(__NDR_convert__float_rep...) */
  955. return MACH_MSG_SUCCESS;
  956. }
  957. #endif /* !defined(__MIG_check__Request__rpc_jack_client_async_notify_t__defined) */
  958. #endif /* __MIG_check__Request__JackRPCClient_subsystem__ */
  959. #endif /* ( __MigTypeCheck || __NDR_convert__ ) */
  960. /* SimpleRoutine rpc_jack_client_async_notify */
  961. #ifdef mig_external
  962. mig_external
  963. #else
  964. extern
  965. #endif /* mig_external */
  966. kern_return_t rpc_jack_client_async_notify
  967. (
  968. mach_port_t client_port,
  969. int refnum,
  970. client_name_t client_name,
  971. int notify,
  972. int value1,
  973. int value2
  974. );
  975. /* SimpleRoutine rpc_jack_client_async_notify */
  976. mig_internal novalue _Xrpc_jack_client_async_notify
  977. (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
  978. {
  979. #ifdef __MigPackStructs
  980. #pragma pack(4)
  981. #endif
  982. typedef struct {
  983. mach_msg_header_t Head;
  984. NDR_record_t NDR;
  985. int refnum;
  986. client_name_t client_name;
  987. int notify;
  988. int value1;
  989. int value2;
  990. mach_msg_trailer_t trailer;
  991. } Request;
  992. #ifdef __MigPackStructs
  993. #pragma pack()
  994. #endif
  995. typedef __Request__rpc_jack_client_async_notify_t __Request;
  996. typedef __Reply__rpc_jack_client_async_notify_t Reply;
  997. /*
  998. * typedef struct {
  999. * mach_msg_header_t Head;
  1000. * NDR_record_t NDR;
  1001. * kern_return_t RetCode;
  1002. * } mig_reply_error_t;
  1003. */
  1004. Request *In0P = (Request *) InHeadP;
  1005. Reply *OutP = (Reply *) OutHeadP;
  1006. #ifdef __MIG_check__Request__rpc_jack_client_async_notify_t__defined
  1007. kern_return_t check_result;
  1008. #endif /* __MIG_check__Request__rpc_jack_client_async_notify_t__defined */
  1009. __DeclareRcvSimple(1001, "rpc_jack_client_async_notify")
  1010. __BeforeRcvSimple(1001, "rpc_jack_client_async_notify")
  1011. #if defined(__MIG_check__Request__rpc_jack_client_async_notify_t__defined)
  1012. check_result = __MIG_check__Request__rpc_jack_client_async_notify_t((__Request *)In0P);
  1013. if (check_result != MACH_MSG_SUCCESS)
  1014. { MIG_RETURN_ERROR(OutP, check_result); }
  1015. #endif /* defined(__MIG_check__Request__rpc_jack_client_async_notify_t__defined) */
  1016. OutP->RetCode = rpc_jack_client_async_notify(In0P->Head.msgh_request_port, In0P->refnum, In0P->client_name, In0P->notify, In0P->value1, In0P->value2);
  1017. __AfterRcvSimple(1001, "rpc_jack_client_async_notify")
  1018. }
  1019. extern boolean_t JackRPCClient_server(
  1020. mach_msg_header_t *InHeadP,
  1021. mach_msg_header_t *OutHeadP);
  1022. extern mig_routine_t JackRPCClient_server_routine(
  1023. mach_msg_header_t *InHeadP);
  1024. /* Description of this subsystem, for use in direct RPC */
  1025. const struct JackRPCClient_subsystem {
  1026. mig_server_routine_t server; /* Server routine */
  1027. mach_msg_id_t start; /* Min routine number */
  1028. mach_msg_id_t end; /* Max routine number + 1 */
  1029. unsigned int maxsize; /* Max msg size */
  1030. vm_address_t reserved; /* Reserved */
  1031. struct routine_descriptor /*Array of routine descriptors */
  1032. routine[2];
  1033. } JackRPCClient_subsystem = {
  1034. JackRPCClient_server_routine,
  1035. 1000,
  1036. 1002,
  1037. (mach_msg_size_t)sizeof(union __ReplyUnion__JackRPCClient_subsystem),
  1038. (vm_address_t)0,
  1039. {
  1040. { (mig_impl_routine_t) 0,
  1041. (mig_stub_routine_t) _Xrpc_jack_client_sync_notify, 7, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__rpc_jack_client_sync_notify_t)},
  1042. { (mig_impl_routine_t) 0,
  1043. (mig_stub_routine_t) _Xrpc_jack_client_async_notify, 6, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__rpc_jack_client_async_notify_t)},
  1044. }
  1045. };
  1046. mig_external boolean_t JackRPCClient_server
  1047. (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
  1048. {
  1049. /*
  1050. * typedef struct {
  1051. * mach_msg_header_t Head;
  1052. * NDR_record_t NDR;
  1053. * kern_return_t RetCode;
  1054. * } mig_reply_error_t;
  1055. */
  1056. register mig_routine_t routine;
  1057. OutHeadP->msgh_bits = MACH_MSGH_BITS(MACH_MSGH_BITS_REPLY(InHeadP->msgh_bits), 0);
  1058. OutHeadP->msgh_remote_port = InHeadP->msgh_reply_port;
  1059. /* Minimal size: routine() will update it if different */
  1060. OutHeadP->msgh_size = (mach_msg_size_t)sizeof(mig_reply_error_t);
  1061. OutHeadP->msgh_local_port = MACH_PORT_NULL;
  1062. OutHeadP->msgh_id = InHeadP->msgh_id + 100;
  1063. if ((InHeadP->msgh_id > 1001) || (InHeadP->msgh_id < 1000) ||
  1064. ((routine = JackRPCClient_subsystem.routine[InHeadP->msgh_id - 1000].stub_routine) == 0)) {
  1065. ((mig_reply_error_t *)OutHeadP)->NDR = NDR_record;
  1066. ((mig_reply_error_t *)OutHeadP)->RetCode = MIG_BAD_ID;
  1067. return FALSE;
  1068. }
  1069. (*routine) (InHeadP, OutHeadP);
  1070. return TRUE;
  1071. }
  1072. mig_external mig_routine_t JackRPCClient_server_routine
  1073. (mach_msg_header_t *InHeadP)
  1074. {
  1075. register int msgh_id;
  1076. msgh_id = InHeadP->msgh_id - 1000;
  1077. if ((msgh_id > 1) || (msgh_id < 0))
  1078. return 0;
  1079. return JackRPCClient_subsystem.routine[msgh_id].stub_routine;
  1080. }