INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_lo_lolist_create()

The mi_lo_lolist_create() function converts an array of LO handles into an MI_LO_LIST structure.

Syntax

Usage

The mi_lo_lolist_create() function populates an MI_LO_LIST structure with LO handles from the specified LO_hdls array. The MI_LO_LIST structure allows user-defined routines to pass an array of LO handles to and from the database server. The function handles memory allocation for the MI_LO_LIST structure as follows:

The mi_lo_lolist_create() function then initializes the MI_LO_LIST structure with the LO handles, which LO_hdls indicates. It converts the number of LO handles that the LOhdl_cnt argument specifies.

The mi_lo_lolist_create() function is useful in an lohandles() support function of an opaque data type. It converts an array of LO handles to the flat MI_LO_LIST structure that the lohandles() support function returns.

Return Values

>=0

The number of bytes of the MI_LO_LIST structure.

0

The function was not successful.

Related Topics

See the description of the following functions: mi_lo_decrefcount() and mi_lo_increfcount().




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.