NAME rpc_sm_set_client_alloc_free - Sets the memory allocation and freeing mechanisms used by the client stubs SYNOPSIS #include <rpc.h> void rpc_sm_set_client_alloc_free ( idl_void_p_t (*p_allocate) (unsigned long size), void (*p_free) (idl_void_p_t ptr), unsigned32 *status ); PARAMETERS Input p_allocate Specifies a memory allocator routine. p_free Specifies a memory free routine. This routine is used to free memory allocated with the routine specified by p_allocate. Output status Returns the status code from this routine. This status code indicates whether the routine completed successfully or, if not, why not. Possible status codes and their meanings include: rpc_s_ok Success. DESCRIPTION The rpc_sm_set_client_alloc_free routine overrides the default routines that the client stub uses to manage memory. The default memory management routines are ISO malloc and ISO free except when the remote call occurs within manager code in which case the default memory management routines are rpc_sm_allocate and rpc_sm_free. RETURN VALUES None. RELATED INFORMATION Functions: rpc_sm_allocate rpc_sm_free