
Section 11 Samples
Rev. 1.01 Mar. 17, 2008 Page 118 of 128
REJ10J1822-0101
__info.ulMarshallingType = 0UL;
__info.ulServerID = RPCSVR_ID_SMPL;
__info.ulServerVersion = RPCSVR_VERS_SMPL;
__info.ulServerProcedureID = RPC_SMPL_REF_SEM2;
__info.AckMode = RPC_ACK;
__info.pInputIOVectorTable = __input;
__info.ulInputIOVectorTableSize = sizeof(__input) / sizeof (IOVEC);
__info.pOutputIOVectorTable = __output;
__info.ulOutputIOVectorTableSize = sizeof(__output) / sizeof
(IOVEC);
__info.pulLastOutputIOVectorSize = &__ulLastOutputIOVectorSize;
__info.pulReturnValue = (UINT32 *)&ercd;
__input[ __ulInputParamCount ].pBaseAddress = &semid;
__input[ __ulInputPar+ ].ulSize = sizeof(ID);
__output[ __ulOutputParamCount ].pBaseAddress = (UINT8 *)(pk_rsem);
__output[ __ulOutputPar+ ].ulSize = sizeof(*pk_rsem);
*rpc_retval_adr() = rpc_call( &__info );
return ercd;
}
INT32 rpcclnt_SMPL_init ( UINT32 __ulRPCServerID, UINT32
__ulRPCServerVersion )
{
return rpc_connect( RPCSVR_ID_SMPL, RPCSVR_VERS_SMPL );
}
INT32 rpcclnt_SMPL_shutdown ( UINT32 __ulRPCServerID, UINT32
__ulRPCServerVersion )
{
return rpc_disconnect( RPCSVR_ID_SMPL, RPCSVR_VERS_SMPL, NULL, 0UL
);
Summary of Contents for Stub Generator REJ10J1822-0101
Page 4: ......
Page 6: ......
Page 12: ...vi ...
Page 16: ...Section 2 Installation Rev 1 01 Mar 17 2008 Page 4 of 128 REJ10J1822 0101 ...
Page 34: ...Section 4 Executing RPCGEN Rev 1 01 Mar 17 2008 Page 22 of 128 REJ10J1822 0101 ...
Page 60: ...Section 5 Specifications of a Config File Rev 1 01 Mar 17 2008 Page 48 of 128 REJ10J1822 0101 ...
Page 118: ...Section 9 Notes Rev 1 01 Mar 17 2008 Page 106 of 128 REJ10J1822 0101 ...
Page 131: ...Section 11 Samples Rev 1 01 Mar 17 2008 Page 119 of 128 REJ10J1822 0101 ...
Page 140: ...Section 11 Samples Rev 1 01 Mar 17 2008 Page 128 of 128 REJ10J1822 0101 ...
Page 143: ......