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

mi_open()

The mi_open() function establishes a connection to a database server, opens a database, and initializes the DataBlade API.

Syntax

Usage

If shared-memory communication is used, only one connection per client is allowed.

The application can pass the new MI_CONNECTION descriptor to subsequent routines that require a connection.

Return Values

On success, returns a pointer to a new MI_CONNECTION descriptor. On failure, returns NULL.

Related Topics

For additional information, see the descriptions of the following functions: mi_close(), mi_login(), and mi_server_connect().




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