OSF DCE Application Development Guide--Core Components
Interface Definition Language
17.14.7.11 Rules for Using the Memory Management Routines
You can use the rpc_ss_allocate( ) routine in the following environments:
• The manager code for an operation that has a full pointer in its argument list
• The manager code for an operation to which the enable_allocate ACF attribute is
applied
• Code that is not called from a server stub but that has called the
rpc_ss_enable_allocate() routine
• A thread, spawned by code of any of the previous three types, that has made a call to
the rpc_ss_set_thread_handle() routine using a thread handle obtained by this code
17.14.7.12 Examples Using Pointers
The examples in this subsection contain the following files, listed here with the function
of each file:
STRING_TREE.IDL Defines data types and interfaces
CLIENT.C User of the interface
MANAGER.C Server code that implements the procedure
SERVER.C Declares the server; enables the client code to find
the interface it needs
STRING_TREE.OUTPUT Shows the output
124245 Tandem Computers Incorporated 17− 53