informix
Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions

mi_fp_usr_fparam()

The mi_fp_usr_fparam() accessor function determines whether the database server or the developer has allocated the specified MI_FPARAM structure.

Syntax

Usage

The Fastpath interface uses an MI_FPARAM structure to hold information about the UDR or cast function to execute. This MI_FPARAM structure can be allocated in one of two ways:

The mi_fp_usr_fparam() function determines which of these two methods was used to allocate the MI_FPARAM structure that fparam_ptr references.

Return Values

MI_TRUE indicates that the MI_FPARAM structure, which fparam_ptr references, is a user-allocated structure.
MI_FALSE indicates that the MI_FPARAM structure, which fparam_ptr references, was allocated by the database server.
MI_ERROR indicates that the function was not successful.

Related Topics

See the descriptions of the following functions: mi_cast_get(), mi_fparam_allocate(), mi_fparam_copy(), mi_fparam_free() mi_func_desc_by_typeid(), mi_routine_exec(), mi_routine_get(), mi_routine_get_by_typeid(), and mi_td_cast_get().


Informix DataBlade API Programmer's Manual, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved