OSF DCE Application Development Guide--Core Components
OSF DCE Application Development Guide—Core Components
18.2.1 Naming the ACF
To name the ACF, replace the extension of the IDL file (.idl) with the extension of the
ACF (.acf). For example, the ACF associated with my_idl_filename.idl is
my_idl_filename.acf.
18.2.2 Compiling the ACF
When you issue the idl command, naming the IDL file to compile, it searches for a
corresponding ACF and compiles it along with the IDL file. The compiler also searches
for any ACF (there can be more than one) associated with any imported IDL files. The
stubs that the compiler creates contain the appropriate modifications.
18.2.3 ACF Features
The following list contains the ACF attributes and the features associated with the
attributes:
• include statement: Includes header files in the generated code
• auto_handle, explicit_handle, implicit_handle, binding_callout: Controls binding
• comm_status, fault_status: Indicates parameters to hold status conditions occurring
in the call
• cs_char, cs_tag_rtn, cs_stag, cs_drtag, cs_rtag: Controls the transmission of
international (non-PCS) characters
• code, nocode: Controls which operations of the IDL file are compiled
• encode, decode: Controls the generation of IDL encoding services stubs to perform
encoding or decoding operations
• extern_exceptions: Indicates user-defined parameters to hold status conditions
occurring in the call
• represent_as: Controls conversion between local and network data types
• enable_allocate: Forces the initialization of the memory management routines
• heap: Specifies objects to be allocated from heap memory
18 − 2 Tandem Computers Incorporated 124245