Re: Fear and loathing in ipcname_gettotal.

John Hughes <[email protected]> Thu, 26 Mar 2009 10:11:17 +0100
Newsgroups gmane.linux.cluster.ssic.devel
Message-ID <[email protected]>
John Hughes wrote:
> So, in the local case memory is allocated by cli_ipcname_gettotal, and 
> in the non-local case memory must be allocated by the caller.
>
> Ugh.
>
> Is this true?   The operation is declared as:
>
> operation ripc_ipcname_gettotal {
>        param IN int                    service
>        param IN ssi_procstate_t        *pstate
>        param OUT:OOL:VAR char          **node_id_pairs
>        param INOUT int                 *sz
> }
>
> node_id_pairs is an output parameter.   Who is supposed to allocate?
Caller is always supposed to allocate with SSI RPC operations.



------------------------------------------------------------------------------