Logo Search packages:      
Sourcecode: jackd2 version File versions  Download package

JackRPCClientServer.c

/*
 * IDENTIFICATION:
 * stub generated Fri Oct 23 10:35:08 2009
 * with a MiG generated Mon May 18 09:59:33 PDT 2009 by root@sulitlana.apple.com
 * OPTIONS: 
 */

/* Module JackRPCClient */

#define     __MIG_check__Request__JackRPCClient_subsystem__ 1
#define     __NDR_convert__Request__JackRPCClient_subsystem__ 1

#include <string.h>
#include <mach/ndr.h>
#include <mach/boolean.h>
#include <mach/kern_return.h>
#include <mach/notify.h>
#include <mach/mach_types.h>
#include <mach/message.h>
#include <mach/mig_errors.h>
#include <mach/port.h>

#include <mach/std_types.h>
#include <mach/mig.h>
#include <mach/mig.h>
#include <mach/mach_types.h>
#include "Jackdefs.h"

#ifndef     mig_internal
#define     mig_internal      static __inline__
#endif      /* mig_internal */

#ifndef     mig_external
#define mig_external
#endif      /* mig_external */

#if   !defined(__MigTypeCheck) && defined(TypeCheck)
#define     __MigTypeCheck          TypeCheck   /* Legacy setting */
#endif      /* !defined(__MigTypeCheck) */

#if   !defined(__MigKernelSpecificCode) && defined(_MIG_KERNEL_SPECIFIC_CODE_)
#define     __MigKernelSpecificCode _MIG_KERNEL_SPECIFIC_CODE_    /* Legacy setting */
#endif      /* !defined(__MigKernelSpecificCode) */

#ifndef     LimitCheck
#define     LimitCheck 0
#endif      /* LimitCheck */

#ifndef     min
#define     min(a,b)  ( ((a) < (b))? (a): (b) )
#endif      /* min */

#if !defined(_WALIGN_)
#define _WALIGN_(x) (((x) + 3) & ~3)
#endif /* !defined(_WALIGN_) */

#if !defined(_WALIGNSZ_)
#define _WALIGNSZ_(x) _WALIGN_(sizeof(x))
#endif /* !defined(_WALIGNSZ_) */

#ifndef     UseStaticTemplates
#define     UseStaticTemplates      0
#endif      /* UseStaticTemplates */

#ifndef     __DeclareRcvRpc
#define     __DeclareRcvRpc(_NUM_, _NAME_)
#endif      /* __DeclareRcvRpc */

#ifndef     __BeforeRcvRpc
#define     __BeforeRcvRpc(_NUM_, _NAME_)
#endif      /* __BeforeRcvRpc */

#ifndef     __AfterRcvRpc
#define     __AfterRcvRpc(_NUM_, _NAME_)
#endif      /* __AfterRcvRpc */

#ifndef     __DeclareRcvSimple
#define     __DeclareRcvSimple(_NUM_, _NAME_)
#endif      /* __DeclareRcvSimple */

#ifndef     __BeforeRcvSimple
#define     __BeforeRcvSimple(_NUM_, _NAME_)
#endif      /* __BeforeRcvSimple */

#ifndef     __AfterRcvSimple
#define     __AfterRcvSimple(_NUM_, _NAME_)
#endif      /* __AfterRcvSimple */

#define novalue void

#define msgh_request_port     msgh_local_port
#define MACH_MSGH_BITS_REQUEST(bits)      MACH_MSGH_BITS_LOCAL(bits)
#define msgh_reply_port       msgh_remote_port
#define MACH_MSGH_BITS_REPLY(bits)  MACH_MSGH_BITS_REMOTE(bits)

#define MIG_RETURN_ERROR(X, code)   {\
                        ((mig_reply_error_t *)X)->RetCode = code;\
                        ((mig_reply_error_t *)X)->NDR = NDR_record;\
                        return;\
                        }

/* typedefs for all requests */

#ifndef __Request__JackRPCClient_subsystem__defined
#define __Request__JackRPCClient_subsystem__defined

#ifdef  __MigPackStructs
#pragma pack(4)
#endif
      typedef struct {
            mach_msg_header_t Head;
            NDR_record_t NDR;
            int refnum;
            client_name_t client_name;
            int notify;
            message_t message;
            int value1;
            int value2;
      } __Request__rpc_jack_client_sync_notify_t;
#ifdef  __MigPackStructs
#pragma pack()
#endif

#ifdef  __MigPackStructs
#pragma pack(4)
#endif
      typedef struct {
            mach_msg_header_t Head;
            NDR_record_t NDR;
            int refnum;
            client_name_t client_name;
            int notify;
            message_t message;
            int value1;
            int value2;
      } __Request__rpc_jack_client_async_notify_t;
#ifdef  __MigPackStructs
#pragma pack()
#endif
#endif /* !__Request__JackRPCClient_subsystem__defined */

/* typedefs for all replies */

#ifndef __Reply__JackRPCClient_subsystem__defined
#define __Reply__JackRPCClient_subsystem__defined

#ifdef  __MigPackStructs
#pragma pack(4)
#endif
      typedef struct {
            mach_msg_header_t Head;
            NDR_record_t NDR;
            kern_return_t RetCode;
            int result;
      } __Reply__rpc_jack_client_sync_notify_t;
#ifdef  __MigPackStructs
#pragma pack()
#endif

#ifdef  __MigPackStructs
#pragma pack(4)
#endif
      typedef struct {
            mach_msg_header_t Head;
            NDR_record_t NDR;
            kern_return_t RetCode;
      } __Reply__rpc_jack_client_async_notify_t;
#ifdef  __MigPackStructs
#pragma pack()
#endif
#endif /* !__Reply__JackRPCClient_subsystem__defined */


/* union of all replies */

#ifndef __ReplyUnion__JackRPCClient_subsystem__defined
#define __ReplyUnion__JackRPCClient_subsystem__defined
union __ReplyUnion__JackRPCClient_subsystem {
      __Reply__rpc_jack_client_sync_notify_t Reply_rpc_jack_client_sync_notify;
      __Reply__rpc_jack_client_async_notify_t Reply_rpc_jack_client_async_notify;
};
#endif /* __RequestUnion__JackRPCClient_subsystem__defined */
/* Forward Declarations */


mig_internal novalue _Xrpc_jack_client_sync_notify
      (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);

mig_internal novalue _Xrpc_jack_client_async_notify
      (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP);


#if ( __MigTypeCheck || __NDR_convert__ )
#if __MIG_check__Request__JackRPCClient_subsystem__
#if !defined(__MIG_check__Request__rpc_jack_client_sync_notify_t__defined)
#define __MIG_check__Request__rpc_jack_client_sync_notify_t__defined
#ifndef __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#if   defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
      __NDR_convert__int_rep__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__int_rep__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
      __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined */

#ifndef __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#if   defined(__NDR_convert__int_rep__JackRPCClient__client_name_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
      __NDR_convert__int_rep__JackRPCClient__client_name_t((client_name_t *)(a), f)
#elif defined(__NDR_convert__int_rep__client_name_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
      __NDR_convert__int_rep__client_name_t((client_name_t *)(a), f)
#elif defined(__NDR_convert__int_rep__JackRPCClient__string__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
      __NDR_convert__int_rep__JackRPCClient__string(a, f, 64)
#elif defined(__NDR_convert__int_rep__string__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
      __NDR_convert__int_rep__string(a, f, 64)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined */

#ifndef __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#if   defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
      __NDR_convert__int_rep__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__int_rep__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
      __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined */

#ifndef __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#if   defined(__NDR_convert__int_rep__JackRPCClient__message_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__message(a, f) \
      __NDR_convert__int_rep__JackRPCClient__message_t((message_t *)(a), f)
#elif defined(__NDR_convert__int_rep__message_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__message(a, f) \
      __NDR_convert__int_rep__message_t((message_t *)(a), f)
#elif defined(__NDR_convert__int_rep__JackRPCClient__string__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__message(a, f) \
      __NDR_convert__int_rep__JackRPCClient__string(a, f, 256)
#elif defined(__NDR_convert__int_rep__string__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__message(a, f) \
      __NDR_convert__int_rep__string(a, f, 256)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__message__defined */

#ifndef __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#if   defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
      __NDR_convert__int_rep__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__int_rep__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
      __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined */

#ifndef __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#if   defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
      __NDR_convert__int_rep__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__int_rep__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
      __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined */

#ifndef __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#if   defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
      __NDR_convert__char_rep__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__char_rep__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
      __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined */

#ifndef __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#if   defined(__NDR_convert__char_rep__JackRPCClient__client_name_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
      __NDR_convert__char_rep__JackRPCClient__client_name_t((client_name_t *)(a), f)
#elif defined(__NDR_convert__char_rep__client_name_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
      __NDR_convert__char_rep__client_name_t((client_name_t *)(a), f)
#elif defined(__NDR_convert__char_rep__JackRPCClient__string__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
      __NDR_convert__char_rep__JackRPCClient__string(a, f, 64)
#elif defined(__NDR_convert__char_rep__string__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
      __NDR_convert__char_rep__string(a, f, 64)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined */

#ifndef __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#if   defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
      __NDR_convert__char_rep__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__char_rep__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
      __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined */

#ifndef __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#if   defined(__NDR_convert__char_rep__JackRPCClient__message_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__message(a, f) \
      __NDR_convert__char_rep__JackRPCClient__message_t((message_t *)(a), f)
#elif defined(__NDR_convert__char_rep__message_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__message(a, f) \
      __NDR_convert__char_rep__message_t((message_t *)(a), f)
#elif defined(__NDR_convert__char_rep__JackRPCClient__string__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__message(a, f) \
      __NDR_convert__char_rep__JackRPCClient__string(a, f, 256)
#elif defined(__NDR_convert__char_rep__string__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__message(a, f) \
      __NDR_convert__char_rep__string(a, f, 256)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__message__defined */

#ifndef __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#if   defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
      __NDR_convert__char_rep__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__char_rep__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
      __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined */

#ifndef __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#if   defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
      __NDR_convert__char_rep__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__char_rep__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
      __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined */

#ifndef __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#if   defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
      __NDR_convert__float_rep__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__float_rep__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum(a, f) \
      __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined */

#ifndef __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#if   defined(__NDR_convert__float_rep__JackRPCClient__client_name_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
      __NDR_convert__float_rep__JackRPCClient__client_name_t((client_name_t *)(a), f)
#elif defined(__NDR_convert__float_rep__client_name_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
      __NDR_convert__float_rep__client_name_t((client_name_t *)(a), f)
#elif defined(__NDR_convert__float_rep__JackRPCClient__string__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
      __NDR_convert__float_rep__JackRPCClient__string(a, f, 64)
#elif defined(__NDR_convert__float_rep__string__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name(a, f) \
      __NDR_convert__float_rep__string(a, f, 64)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined */

#ifndef __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#if   defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
      __NDR_convert__float_rep__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__float_rep__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify(a, f) \
      __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined */

#ifndef __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#if   defined(__NDR_convert__float_rep__JackRPCClient__message_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__message(a, f) \
      __NDR_convert__float_rep__JackRPCClient__message_t((message_t *)(a), f)
#elif defined(__NDR_convert__float_rep__message_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__message(a, f) \
      __NDR_convert__float_rep__message_t((message_t *)(a), f)
#elif defined(__NDR_convert__float_rep__JackRPCClient__string__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__message(a, f) \
      __NDR_convert__float_rep__JackRPCClient__string(a, f, 256)
#elif defined(__NDR_convert__float_rep__string__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__message__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__message(a, f) \
      __NDR_convert__float_rep__string(a, f, 256)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__message__defined */

#ifndef __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#if   defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
      __NDR_convert__float_rep__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__float_rep__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1(a, f) \
      __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined */

#ifndef __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#if   defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
      __NDR_convert__float_rep__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__float_rep__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2(a, f) \
      __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined */


mig_internal kern_return_t __MIG_check__Request__rpc_jack_client_sync_notify_t(__attribute__((__unused__)) __Request__rpc_jack_client_sync_notify_t *In0P)
{

      typedef __Request__rpc_jack_client_sync_notify_t __Request;
#if   __MigTypeCheck
      if ((In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
          (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
            return MIG_BAD_ARGUMENTS;
#endif      /* __MigTypeCheck */

#if __MigTypeCheck
      {
            char * msg_limit = ((char *) In0P) + In0P->Head.msgh_size;
            size_t memchr_limit;

            memchr_limit = min((msg_limit - In0P->client_name),  64);
            if (( memchr(In0P->client_name, '\0', memchr_limit) == NULL ))
                  return MIG_BAD_ARGUMENTS; // string length exceeds buffer length!
            memchr_limit = min((msg_limit - In0P->message),  256);
            if (( memchr(In0P->message, '\0', memchr_limit) == NULL ))
                  return MIG_BAD_ARGUMENTS; // string length exceeds buffer length!
      }
#endif      /* __MigTypeCheck */

#if   defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined) || \
      defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined) || \
      defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined) || \
      defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__message__defined) || \
      defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined) || \
      defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined)
      if (In0P->NDR.int_rep != NDR_record.int_rep) {
#if defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined)
            __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum(&In0P->refnum, In0P->NDR.int_rep);
#endif      /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined */
#if defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined)
            __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name(&In0P->client_name, In0P->NDR.int_rep);
#endif      /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined */
#if defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined)
            __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify(&In0P->notify, In0P->NDR.int_rep);
#endif      /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__notify__defined */
#if defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__message__defined)
            __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__message(&In0P->message, In0P->NDR.int_rep);
#endif      /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__message__defined */
#if defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined)
            __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1(&In0P->value1, In0P->NDR.int_rep);
#endif      /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value1__defined */
#if defined(__NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined)
            __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2(&In0P->value2, In0P->NDR.int_rep);
#endif      /* __NDR_convert__int_rep__Request__rpc_jack_client_sync_notify_t__value2__defined */
      }
#endif      /* defined(__NDR_convert__int_rep...) */

#if   defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined) || \
      defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined) || \
      defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined) || \
      defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__message__defined) || \
      defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined) || \
      defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined)
      if (In0P->NDR.char_rep != NDR_record.char_rep) {
#if defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined)
            __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum(&In0P->refnum, In0P->NDR.char_rep);
#endif      /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined */
#if defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined)
            __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name(&In0P->client_name, In0P->NDR.char_rep);
#endif      /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined */
#if defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined)
            __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify(&In0P->notify, In0P->NDR.char_rep);
#endif      /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__notify__defined */
#if defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__message__defined)
            __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__message(&In0P->message, In0P->NDR.char_rep);
#endif      /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__message__defined */
#if defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined)
            __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1(&In0P->value1, In0P->NDR.char_rep);
#endif      /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value1__defined */
#if defined(__NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined)
            __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2(&In0P->value2, In0P->NDR.char_rep);
#endif      /* __NDR_convert__char_rep__Request__rpc_jack_client_sync_notify_t__value2__defined */
      }
#endif      /* defined(__NDR_convert__char_rep...) */

#if   defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined) || \
      defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined) || \
      defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined) || \
      defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__message__defined) || \
      defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined) || \
      defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined)
      if (In0P->NDR.float_rep != NDR_record.float_rep) {
#if defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined)
            __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum(&In0P->refnum, In0P->NDR.float_rep);
#endif      /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__refnum__defined */
#if defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined)
            __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name(&In0P->client_name, In0P->NDR.float_rep);
#endif      /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__client_name__defined */
#if defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined)
            __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify(&In0P->notify, In0P->NDR.float_rep);
#endif      /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__notify__defined */
#if defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__message__defined)
            __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__message(&In0P->message, In0P->NDR.float_rep);
#endif      /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__message__defined */
#if defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined)
            __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1(&In0P->value1, In0P->NDR.float_rep);
#endif      /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value1__defined */
#if defined(__NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined)
            __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2(&In0P->value2, In0P->NDR.float_rep);
#endif      /* __NDR_convert__float_rep__Request__rpc_jack_client_sync_notify_t__value2__defined */
      }
#endif      /* defined(__NDR_convert__float_rep...) */

      return MACH_MSG_SUCCESS;
}
#endif /* !defined(__MIG_check__Request__rpc_jack_client_sync_notify_t__defined) */
#endif /* __MIG_check__Request__JackRPCClient_subsystem__ */
#endif /* ( __MigTypeCheck || __NDR_convert__ ) */


/* Routine rpc_jack_client_sync_notify */
#ifdef      mig_external
mig_external
#else
extern
#endif      /* mig_external */
kern_return_t rpc_jack_client_sync_notify
(
      mach_port_t client_port,
      int refnum,
      client_name_t client_name,
      int notify,
      message_t message,
      int value1,
      int value2,
      int *result
);

/* Routine rpc_jack_client_sync_notify */
mig_internal novalue _Xrpc_jack_client_sync_notify
      (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
{

#ifdef  __MigPackStructs
#pragma pack(4)
#endif
      typedef struct {
            mach_msg_header_t Head;
            NDR_record_t NDR;
            int refnum;
            client_name_t client_name;
            int notify;
            message_t message;
            int value1;
            int value2;
            mach_msg_trailer_t trailer;
      } Request;
#ifdef  __MigPackStructs
#pragma pack()
#endif
      typedef __Request__rpc_jack_client_sync_notify_t __Request;
      typedef __Reply__rpc_jack_client_sync_notify_t Reply;

      /*
       * typedef struct {
       *    mach_msg_header_t Head;
       *    NDR_record_t NDR;
       *    kern_return_t RetCode;
       * } mig_reply_error_t;
       */

      Request *In0P = (Request *) InHeadP;
      Reply *OutP = (Reply *) OutHeadP;
#ifdef      __MIG_check__Request__rpc_jack_client_sync_notify_t__defined
      kern_return_t check_result;
#endif      /* __MIG_check__Request__rpc_jack_client_sync_notify_t__defined */

      __DeclareRcvRpc(1000, "rpc_jack_client_sync_notify")
      __BeforeRcvRpc(1000, "rpc_jack_client_sync_notify")

#if   defined(__MIG_check__Request__rpc_jack_client_sync_notify_t__defined)
      check_result = __MIG_check__Request__rpc_jack_client_sync_notify_t((__Request *)In0P);
      if (check_result != MACH_MSG_SUCCESS)
            { MIG_RETURN_ERROR(OutP, check_result); }
#endif      /* defined(__MIG_check__Request__rpc_jack_client_sync_notify_t__defined) */

      OutP->RetCode = rpc_jack_client_sync_notify(In0P->Head.msgh_request_port, In0P->refnum, In0P->client_name, In0P->notify, In0P->message, In0P->value1, In0P->value2, &OutP->result);
      if (OutP->RetCode != KERN_SUCCESS) {
            MIG_RETURN_ERROR(OutP, OutP->RetCode);
      }

      OutP->NDR = NDR_record;


      OutP->Head.msgh_size = (mach_msg_size_t)(sizeof(Reply));
      __AfterRcvRpc(1000, "rpc_jack_client_sync_notify")
}

#if ( __MigTypeCheck || __NDR_convert__ )
#if __MIG_check__Request__JackRPCClient_subsystem__
#if !defined(__MIG_check__Request__rpc_jack_client_async_notify_t__defined)
#define __MIG_check__Request__rpc_jack_client_async_notify_t__defined
#ifndef __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#if   defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
      __NDR_convert__int_rep__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__int_rep__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
      __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined */

#ifndef __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#if   defined(__NDR_convert__int_rep__JackRPCClient__client_name_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
      __NDR_convert__int_rep__JackRPCClient__client_name_t((client_name_t *)(a), f)
#elif defined(__NDR_convert__int_rep__client_name_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
      __NDR_convert__int_rep__client_name_t((client_name_t *)(a), f)
#elif defined(__NDR_convert__int_rep__JackRPCClient__string__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
      __NDR_convert__int_rep__JackRPCClient__string(a, f, 64)
#elif defined(__NDR_convert__int_rep__string__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
      __NDR_convert__int_rep__string(a, f, 64)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined */

#ifndef __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#if   defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
      __NDR_convert__int_rep__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__int_rep__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
      __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined */

#ifndef __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__message__defined
#if   defined(__NDR_convert__int_rep__JackRPCClient__message_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__message__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__message(a, f) \
      __NDR_convert__int_rep__JackRPCClient__message_t((message_t *)(a), f)
#elif defined(__NDR_convert__int_rep__message_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__message__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__message(a, f) \
      __NDR_convert__int_rep__message_t((message_t *)(a), f)
#elif defined(__NDR_convert__int_rep__JackRPCClient__string__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__message__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__message(a, f) \
      __NDR_convert__int_rep__JackRPCClient__string(a, f, 256)
#elif defined(__NDR_convert__int_rep__string__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__message__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__message(a, f) \
      __NDR_convert__int_rep__string(a, f, 256)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__message__defined */

#ifndef __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#if   defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
      __NDR_convert__int_rep__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__int_rep__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
      __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined */

#ifndef __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#if   defined(__NDR_convert__int_rep__JackRPCClient__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__int__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
      __NDR_convert__int_rep__int((int *)(a), f)
#elif defined(__NDR_convert__int_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
      __NDR_convert__int_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__int_rep__int32_t__defined)
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#define     __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
      __NDR_convert__int_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined */

#ifndef __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#if   defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
      __NDR_convert__char_rep__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__char_rep__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
      __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined */

#ifndef __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#if   defined(__NDR_convert__char_rep__JackRPCClient__client_name_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
      __NDR_convert__char_rep__JackRPCClient__client_name_t((client_name_t *)(a), f)
#elif defined(__NDR_convert__char_rep__client_name_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
      __NDR_convert__char_rep__client_name_t((client_name_t *)(a), f)
#elif defined(__NDR_convert__char_rep__JackRPCClient__string__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
      __NDR_convert__char_rep__JackRPCClient__string(a, f, 64)
#elif defined(__NDR_convert__char_rep__string__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
      __NDR_convert__char_rep__string(a, f, 64)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined */

#ifndef __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#if   defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
      __NDR_convert__char_rep__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__char_rep__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
      __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined */

#ifndef __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__message__defined
#if   defined(__NDR_convert__char_rep__JackRPCClient__message_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__message__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__message(a, f) \
      __NDR_convert__char_rep__JackRPCClient__message_t((message_t *)(a), f)
#elif defined(__NDR_convert__char_rep__message_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__message__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__message(a, f) \
      __NDR_convert__char_rep__message_t((message_t *)(a), f)
#elif defined(__NDR_convert__char_rep__JackRPCClient__string__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__message__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__message(a, f) \
      __NDR_convert__char_rep__JackRPCClient__string(a, f, 256)
#elif defined(__NDR_convert__char_rep__string__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__message__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__message(a, f) \
      __NDR_convert__char_rep__string(a, f, 256)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__message__defined */

#ifndef __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#if   defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
      __NDR_convert__char_rep__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__char_rep__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
      __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined */

#ifndef __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#if   defined(__NDR_convert__char_rep__JackRPCClient__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__int__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
      __NDR_convert__char_rep__int((int *)(a), f)
#elif defined(__NDR_convert__char_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
      __NDR_convert__char_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__char_rep__int32_t__defined)
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#define     __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
      __NDR_convert__char_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined */

#ifndef __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#if   defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
      __NDR_convert__float_rep__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__float_rep__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum(a, f) \
      __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined */

#ifndef __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#if   defined(__NDR_convert__float_rep__JackRPCClient__client_name_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
      __NDR_convert__float_rep__JackRPCClient__client_name_t((client_name_t *)(a), f)
#elif defined(__NDR_convert__float_rep__client_name_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
      __NDR_convert__float_rep__client_name_t((client_name_t *)(a), f)
#elif defined(__NDR_convert__float_rep__JackRPCClient__string__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
      __NDR_convert__float_rep__JackRPCClient__string(a, f, 64)
#elif defined(__NDR_convert__float_rep__string__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name(a, f) \
      __NDR_convert__float_rep__string(a, f, 64)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined */

#ifndef __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#if   defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
      __NDR_convert__float_rep__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__float_rep__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify(a, f) \
      __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined */

#ifndef __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__message__defined
#if   defined(__NDR_convert__float_rep__JackRPCClient__message_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__message__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__message(a, f) \
      __NDR_convert__float_rep__JackRPCClient__message_t((message_t *)(a), f)
#elif defined(__NDR_convert__float_rep__message_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__message__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__message(a, f) \
      __NDR_convert__float_rep__message_t((message_t *)(a), f)
#elif defined(__NDR_convert__float_rep__JackRPCClient__string__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__message__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__message(a, f) \
      __NDR_convert__float_rep__JackRPCClient__string(a, f, 256)
#elif defined(__NDR_convert__float_rep__string__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__message__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__message(a, f) \
      __NDR_convert__float_rep__string(a, f, 256)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__message__defined */

#ifndef __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#if   defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
      __NDR_convert__float_rep__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__float_rep__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1(a, f) \
      __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined */

#ifndef __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#if   defined(__NDR_convert__float_rep__JackRPCClient__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__int__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
      __NDR_convert__float_rep__int((int *)(a), f)
#elif defined(__NDR_convert__float_rep__JackRPCClient__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
      __NDR_convert__float_rep__JackRPCClient__int32_t((int32_t *)(a), f)
#elif defined(__NDR_convert__float_rep__int32_t__defined)
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined
#define     __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2(a, f) \
      __NDR_convert__float_rep__int32_t((int32_t *)(a), f)
#endif /* defined(__NDR_convert__*__defined) */
#endif /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined */


mig_internal kern_return_t __MIG_check__Request__rpc_jack_client_async_notify_t(__attribute__((__unused__)) __Request__rpc_jack_client_async_notify_t *In0P)
{

      typedef __Request__rpc_jack_client_async_notify_t __Request;
#if   __MigTypeCheck
      if ((In0P->Head.msgh_bits & MACH_MSGH_BITS_COMPLEX) ||
          (In0P->Head.msgh_size != (mach_msg_size_t)sizeof(__Request)))
            return MIG_BAD_ARGUMENTS;
#endif      /* __MigTypeCheck */

#if __MigTypeCheck
      {
            char * msg_limit = ((char *) In0P) + In0P->Head.msgh_size;
            size_t memchr_limit;

            memchr_limit = min((msg_limit - In0P->client_name),  64);
            if (( memchr(In0P->client_name, '\0', memchr_limit) == NULL ))
                  return MIG_BAD_ARGUMENTS; // string length exceeds buffer length!
            memchr_limit = min((msg_limit - In0P->message),  256);
            if (( memchr(In0P->message, '\0', memchr_limit) == NULL ))
                  return MIG_BAD_ARGUMENTS; // string length exceeds buffer length!
      }
#endif      /* __MigTypeCheck */

#if   defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined) || \
      defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined) || \
      defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined) || \
      defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__message__defined) || \
      defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined) || \
      defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined)
      if (In0P->NDR.int_rep != NDR_record.int_rep) {
#if defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined)
            __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum(&In0P->refnum, In0P->NDR.int_rep);
#endif      /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__refnum__defined */
#if defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined)
            __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name(&In0P->client_name, In0P->NDR.int_rep);
#endif      /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__client_name__defined */
#if defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined)
            __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify(&In0P->notify, In0P->NDR.int_rep);
#endif      /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__notify__defined */
#if defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__message__defined)
            __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__message(&In0P->message, In0P->NDR.int_rep);
#endif      /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__message__defined */
#if defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined)
            __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1(&In0P->value1, In0P->NDR.int_rep);
#endif      /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value1__defined */
#if defined(__NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined)
            __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2(&In0P->value2, In0P->NDR.int_rep);
#endif      /* __NDR_convert__int_rep__Request__rpc_jack_client_async_notify_t__value2__defined */
      }
#endif      /* defined(__NDR_convert__int_rep...) */

#if   defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined) || \
      defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined) || \
      defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined) || \
      defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__message__defined) || \
      defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined) || \
      defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined)
      if (In0P->NDR.char_rep != NDR_record.char_rep) {
#if defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined)
            __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum(&In0P->refnum, In0P->NDR.char_rep);
#endif      /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__refnum__defined */
#if defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined)
            __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name(&In0P->client_name, In0P->NDR.char_rep);
#endif      /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__client_name__defined */
#if defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined)
            __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify(&In0P->notify, In0P->NDR.char_rep);
#endif      /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__notify__defined */
#if defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__message__defined)
            __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__message(&In0P->message, In0P->NDR.char_rep);
#endif      /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__message__defined */
#if defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined)
            __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1(&In0P->value1, In0P->NDR.char_rep);
#endif      /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value1__defined */
#if defined(__NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined)
            __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2(&In0P->value2, In0P->NDR.char_rep);
#endif      /* __NDR_convert__char_rep__Request__rpc_jack_client_async_notify_t__value2__defined */
      }
#endif      /* defined(__NDR_convert__char_rep...) */

#if   defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined) || \
      defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined) || \
      defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined) || \
      defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__message__defined) || \
      defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined) || \
      defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined)
      if (In0P->NDR.float_rep != NDR_record.float_rep) {
#if defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined)
            __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum(&In0P->refnum, In0P->NDR.float_rep);
#endif      /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__refnum__defined */
#if defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined)
            __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name(&In0P->client_name, In0P->NDR.float_rep);
#endif      /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__client_name__defined */
#if defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined)
            __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify(&In0P->notify, In0P->NDR.float_rep);
#endif      /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__notify__defined */
#if defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__message__defined)
            __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__message(&In0P->message, In0P->NDR.float_rep);
#endif      /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__message__defined */
#if defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined)
            __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1(&In0P->value1, In0P->NDR.float_rep);
#endif      /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value1__defined */
#if defined(__NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined)
            __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2(&In0P->value2, In0P->NDR.float_rep);
#endif      /* __NDR_convert__float_rep__Request__rpc_jack_client_async_notify_t__value2__defined */
      }
#endif      /* defined(__NDR_convert__float_rep...) */

      return MACH_MSG_SUCCESS;
}
#endif /* !defined(__MIG_check__Request__rpc_jack_client_async_notify_t__defined) */
#endif /* __MIG_check__Request__JackRPCClient_subsystem__ */
#endif /* ( __MigTypeCheck || __NDR_convert__ ) */


/* SimpleRoutine rpc_jack_client_async_notify */
#ifdef      mig_external
mig_external
#else
extern
#endif      /* mig_external */
kern_return_t rpc_jack_client_async_notify
(
      mach_port_t client_port,
      int refnum,
      client_name_t client_name,
      int notify,
      message_t message,
      int value1,
      int value2
);

/* SimpleRoutine rpc_jack_client_async_notify */
mig_internal novalue _Xrpc_jack_client_async_notify
      (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
{

#ifdef  __MigPackStructs
#pragma pack(4)
#endif
      typedef struct {
            mach_msg_header_t Head;
            NDR_record_t NDR;
            int refnum;
            client_name_t client_name;
            int notify;
            message_t message;
            int value1;
            int value2;
            mach_msg_trailer_t trailer;
      } Request;
#ifdef  __MigPackStructs
#pragma pack()
#endif
      typedef __Request__rpc_jack_client_async_notify_t __Request;
      typedef __Reply__rpc_jack_client_async_notify_t Reply;

      /*
       * typedef struct {
       *    mach_msg_header_t Head;
       *    NDR_record_t NDR;
       *    kern_return_t RetCode;
       * } mig_reply_error_t;
       */

      Request *In0P = (Request *) InHeadP;
      Reply *OutP = (Reply *) OutHeadP;
#ifdef      __MIG_check__Request__rpc_jack_client_async_notify_t__defined
      kern_return_t check_result;
#endif      /* __MIG_check__Request__rpc_jack_client_async_notify_t__defined */

      __DeclareRcvSimple(1001, "rpc_jack_client_async_notify")
      __BeforeRcvSimple(1001, "rpc_jack_client_async_notify")

#if   defined(__MIG_check__Request__rpc_jack_client_async_notify_t__defined)
      check_result = __MIG_check__Request__rpc_jack_client_async_notify_t((__Request *)In0P);
      if (check_result != MACH_MSG_SUCCESS)
            { MIG_RETURN_ERROR(OutP, check_result); }
#endif      /* defined(__MIG_check__Request__rpc_jack_client_async_notify_t__defined) */

      OutP->RetCode = rpc_jack_client_async_notify(In0P->Head.msgh_request_port, In0P->refnum, In0P->client_name, In0P->notify, In0P->message, In0P->value1, In0P->value2);
      __AfterRcvSimple(1001, "rpc_jack_client_async_notify")
}


extern boolean_t JackRPCClient_server(
            mach_msg_header_t *InHeadP,
            mach_msg_header_t *OutHeadP);

extern mig_routine_t JackRPCClient_server_routine(
            mach_msg_header_t *InHeadP);


/* Description of this subsystem, for use in direct RPC */
01310 const struct JackRPCClient_subsystem {
      mig_server_routine_t    server;     /* Server routine */
      mach_msg_id_t     start;      /* Min routine number */
      mach_msg_id_t     end;  /* Max routine number + 1 */
      unsigned int      maxsize;    /* Max msg size */
      vm_address_t      reserved;   /* Reserved */
      struct routine_descriptor     /*Array of routine descriptors */
            routine[2];
} JackRPCClient_subsystem = {
      JackRPCClient_server_routine,
      1000,
      1002,
      (mach_msg_size_t)sizeof(union __ReplyUnion__JackRPCClient_subsystem),
      (vm_address_t)0,
      {
          { (mig_impl_routine_t) 0,
          (mig_stub_routine_t) _Xrpc_jack_client_sync_notify, 8, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__rpc_jack_client_sync_notify_t)},
          { (mig_impl_routine_t) 0,
          (mig_stub_routine_t) _Xrpc_jack_client_async_notify, 7, 0, (routine_arg_descriptor_t)0, (mach_msg_size_t)sizeof(__Reply__rpc_jack_client_async_notify_t)},
      }
};

mig_external boolean_t JackRPCClient_server
      (mach_msg_header_t *InHeadP, mach_msg_header_t *OutHeadP)
{
      /*
       * typedef struct {
       *    mach_msg_header_t Head;
       *    NDR_record_t NDR;
       *    kern_return_t RetCode;
       * } mig_reply_error_t;
       */

      register mig_routine_t routine;

      OutHeadP->msgh_bits = MACH_MSGH_BITS(MACH_MSGH_BITS_REPLY(InHeadP->msgh_bits), 0);
      OutHeadP->msgh_remote_port = InHeadP->msgh_reply_port;
      /* Minimal size: routine() will update it if different */
      OutHeadP->msgh_size = (mach_msg_size_t)sizeof(mig_reply_error_t);
      OutHeadP->msgh_local_port = MACH_PORT_NULL;
      OutHeadP->msgh_id = InHeadP->msgh_id + 100;

      if ((InHeadP->msgh_id > 1001) || (InHeadP->msgh_id < 1000) ||
          ((routine = JackRPCClient_subsystem.routine[InHeadP->msgh_id - 1000].stub_routine) == 0)) {
            ((mig_reply_error_t *)OutHeadP)->NDR = NDR_record;
            ((mig_reply_error_t *)OutHeadP)->RetCode = MIG_BAD_ID;
            return FALSE;
      }
      (*routine) (InHeadP, OutHeadP);
      return TRUE;
}

mig_external mig_routine_t JackRPCClient_server_routine
      (mach_msg_header_t *InHeadP)
{
      register int msgh_id;

      msgh_id = InHeadP->msgh_id - 1000;

      if ((msgh_id > 1) || (msgh_id < 0))
            return 0;

      return JackRPCClient_subsystem.routine[msgh_id].stub_routine;
}

Generated by  Doxygen 1.6.0   Back to index