
Section 6 Definitions of Server Functions
Rev. 1.01 Mar. 17, 2008 Page 78 of 128
REJ10J1822-0101
int func (struct INF * inf, struct ST * ptr )
{
IOVEC __input[2];
IOVEC __output[1];
...
__input[ __ulInputParamCount ].pBaseAddress = (UINT8 *)(inf);
__input[ __ulInputPar+ ].ulSize = sizeof(*inf);
if (((UINT32)(inf->count)) > 0UL)
{
__input[ __ulInputParamCount ].pBaseAddress = (UINT8 *)(
ptr
);
__input[ __ulInputPar+ ].ulSize = sizeof(
*ptr
) * ((UINT32)(
inf->count
));
}
if (((UINT32)(inf->count)) > 0UL)
{
__output[ __ulOutputParamCount ].pBaseAddress = (UINT8 *)(
ptr
);
__output[ __ulOutputPar+ ].ulSize = sizeof(
*ptr
) * ((UINT32)(
inf->count
));
}
...
rpc_call(...);
}
Figure 6.6 Code Output to the Client Stub (INOUT) for First COUNT
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: ......