DataBlade API support data types

The DataBlade® API provides additional data types that DataBlade API functions use. These data types are usually enumerated data types that restrict valid values for an argument or return value of a DataBlade API function. Most of these data types start with the MI_ prefix.

Table 1. DataBlade API support data types
Support data type Purpose Location of description
MI_CALLBACK_STATUS Enumerates valid return values of a callback function Return value of a callback function
MI_CURSOR_ACTION Enumerates movements through a cursor Position the cursor

Fetch rows into a cursor

MI_EVENT_TYPE Classifies an event DataBlade API event types
MI_FUNCARG Enumerates kinds of arguments that a companion UDR might receive The MI_FUNCARG data type
mi_funcid Holds a routine identifier Routine resolution
MI_ID Enumerates the kinds of identifiers that the mi_get_id() function can obtain Description of mi_get_id() in the Informix DataBlade API Function Reference
MI_SETREQUEST Enumerates values of the iterator-status constant, which the database server can return to a UDR through the mi_fp_request() function Write an iterator function
MI_TRANSITION_TYPE Enumerates types of state transitions in a transition descriptor Understanding state-transition events
MI_UDR_TYPE Enumerates the kind of UDR for which the mi_routine_get_by_typeid() function obtains a function descriptor Description of mi_routine_get_by_typeid() in the Informix DataBlade API Function Reference