Home | Previous Page | Next Page   Function Descriptions >

mi_fp_setfuncid( )

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
is a pointer to the associated MI_FPARAM structure.
routine_id
is 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 backward compatibility, some DataBlade API functions still assume that routine identifiers are of type mi_integer.

Return Values

None.

Related Topics

See also the description of mi_fp_getfuncid( ).

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

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]