The mi_type_owner() function
The mi_type_owner() function obtains the owner of a data type from its type descriptor.
Syntax
mi_string *mi_type_owner(type_desc)
MI_TYPE_DESC *type_desc;
- type_desc
- A pointer to the type descriptor from which to obtain the owner name.
Valid in client LIBMI application? | Valid in user-defined routine? |
---|---|
Yes | Yes |
Usage
The mi_type_owner() function obtains the owner of the data type from the type descriptor that type_desc references. For extended data types, the owner is the value of the owner column of the sysxtdtypes system catalog table.
Return values
- An mi_string pointer
- A pointer to the owner name of the data type in the type_desc type descriptor.
- NULL
- The function was not successful.