The mi_fp_setfuncid() function

The mi_fp_setfuncid() accessor function sets the routine identifier for a user-defined routine in its associated MI_FPARAM structure.

Syntax

void mi_fp_setfuncid(fparam_ptr, routine_id)
   MI_FPARAM *fparam_ptr;
   mi_funcid routine_id;
fparam_ptr
A pointer to the associated MI_FPARAM structure.
routine_id
The integer routine identifier to set in the MI_FPARAM structure.
Valid in client LIBMI application? Valid in user-defined routine?
Yes Yes

Usage

The mi_fp_setfuncid() function sets the routine identifier for the UDR associated with the MI_FPARAM structure that fparam_ptr references. The routine identifier uniquely identifies the UDR within the database.
Tip: The DataBlade® API provides the mi_funcid data type for routine identifiers. The mi_funcid data type has the same structure as the mi_integer data type. For compatibility with earlier versions, some DataBlade® API functions still assume that routine identifiers are of type mi_integer.

For more information about UDR information in an MI_FPARAM structure, see the Informix® DataBlade® API Programmer's Guide.

Return values

None.