Passing Definitions to the DBMS Server
IIudadt_register Routine
The DBMS Server accesses user-written code for new data types, functions, and operator capabilities by calling the routine IIudadt_register. This routine, which you must provide, is called at system startup. It fills in a pointer to a data structure that contains the definitions of any user-written data types, functions and function instances. The DBMS Server checks the definitions to ensure that they are correct and merges them with the existing data type manipulation objects.
This routine is called using the following syntax:
status=IIudadt_register(add_block);
Status has the data type II_STATUS. Add_block is a pointer to a field that must be set to point to a data structure of type IIADD_DEFINITION if you are adding new data types, functions, or function instances. If you are not adding new data types (or functions or function instances), set this pointer to zero. This is the default.
Note: If provided, IIADD_DEFINITION exists as a compiler-generated data area. Do not dynamically allocate this data area or place it on the stack.
Last modified date: 08/28/2024