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

mi_get_lo_handle()

The mi_get_lo_handle() function copies an LO handle from a buffer, regardless of alignment.

Syntax

Usage

The mi_get_lo_handle() function is useful in a receive support function of an opaque data type that contains smart large objects. Use this function to receive an LO handle from a client application, which possibly has unaligned data buffers.

The returned address is advanced by the size of an LO handle to permit a subsequent copy. In other words, if n is the length of the LO handle that LO_hdl identifies, the returned address is n bytes advanced from the original buffer address in data_ptr.

Return Values

mi_unsigned_char1 *

The new address in the data_ptr data buffer.

NULL

The function was not successful.

Related Topics

See the description of the mi_put_lo_handle() function.




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