Re: [SSI-devel] Fear and loathing in ipcname_gettotal.
Brought to you by:
brucewalker,
rogertsang
From: John H. <john@Calva.COM> - 2009-03-26 09:11:29
|
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. |