rpc_ss_enable_allocate(3) — Subroutines
NAME
rpc_ss_enable_allocate - Enables the allocation of memory by the rpc_ss_allocate routine when not in manager code
Used by client applications.
SYNOPSIS
#include <dce/rpc.h>
void rpc_ss_enable_allocate(void);
DESCRIPTION
In sophisticated servers, it may be necessary to call manager code routines from different environments. This occurs, for example, when the application is both a client and a server of the same interface. Therefore, a manager code routine may need to be called both by the application code and by the stub code. If code, other than manager code, calls rpc_ss_allocate it must first call rpc_ss_enable_allocate to initialize the memory management environment that rpc_ss_allocate uses.
See the Rules for Using Memory Management Routines in the Pointers section of the Interface Definition Language chapter in the NCS 2.0 Programmer’s Guide.
RETURN VALUES
An exception, rpc_x_no_memory, when there is insufficient memory available to set up necessary data structures.
RELATED INFORMATION
Functions: rpc_ss_allocate(3), rpc_ss_disable_allocate(3)