Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rpc_ss_enable_allocate(3rpc) — DCE 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

rpc_ss_enable_allocate(3rpc)  —  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

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 the rpc_ss_allocate() routine, it must first call rpc_ss_enable_allocate() to initialize the memory management environment that rpc_ss_allocate() uses. 

For information about rules for using memory management routines, see the OSF DCE Application Development Guide—Core Components. 

Return Values

An exception, rpc_x_no_memory, when there is insufficient memory available to set up necessary data structures. 

Errors

A representative list of errors that might be returned is not shown here.  Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages. 

Related Information

Functions: rpc_ss_allocate(3rpc), rpc_ss_disable_allocate(3rpc). 

Books: OSF DCE Application Development Guide—Core Components. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026