PreviousNext

XOM API Macros

XOM API provides several macros that are useful in defining public objects in your application programs. These macros are defined in the xom.h header file.

· OM_IMPORT

Makes object identifier symbolic constants available within a C source module.

· OM_EXPORT

Allocates memory and initializes object identifier symbolic constants within a C source module.

· OM_OID_DESC

Initializes the type, syntax, and value of an OM attribute that holds an object identifier.

· OM_NULL_DESCRIPTOR

Marks the end of a client-generated public object.

· OMP_LENGTH

Calculates the length of an object identifier.

· OM_STRING

Creates a data value of a string data type.

More:

The OM_EXPORT and OM_IMPORT Macros

The OM_OID_DESC and OMP_LENGTH Macros

The OM_NULL_DESCRIPTOR Macro

The OM_STRING Macro