OSF DCE Application Development Guide--Core Components
OSF DCE Application Development Guide—Core Components
The error_status_t data type contains an additional semantic to indicate that this
particular unsigned long contains a DCE format error status value. This additional
semantic enables the IDL compiler to perform any necessary translation when moving
the status value between systems with differing hardware architectures and software
operating systems. If you are using status codes that are not in the DCE error status
format or if you do not require such conversion, use an unsigned long instead of
error_status_t.
17.13.9 International Characters
The implicitly imported nbase.idl provides predefined data types to support present and
emerging international standards for the representation of characters and strings:
ISO_LATIN_1
ISO_MULTI_LINGUAL
ISO_UCS
Data of type char is subject to ASCII-EBCDIC conversion when transmitted by the RPC
mechanism. The predefined international character types are constructed from the base
type byte and are thereby protected from data representation format conversion.
The ISO_LATIN_1 type is represented in 8 bits and is predefined as follows:
typedef byte ISO_LATIN_1;
The ISO_MULTI_LINGUAL type is represented in 16 bits and is predefined as
follows:
typedef struct {
byte row, column;
} ISO_MULTI_LINGUAL;
The ISO_UCS type is represented in 32 bits and is predefined as follows:
typedef struct {
byte group, plane, row, column;
} ISO_UCS;
17.14 Constructed Data Types
The following subsections describe the constructed data types that are provided by IDL.
The constructed types are built on the basic data types, which are described in Section
17.13. The constructed data types are as follows:
17 − 24 Tandem Computers Incorporated 124245