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

mi_routine_get_by_typeid()

The mi_routine_get_by_typeid() function looks up a registered user-defined routine by its list of arguments and fetches its function descriptor.

Syntax

Usage

The mi_routine_get_by_typeid() takes signature components as separate arguments, while mi_routine_get() takes the signature as a single string.

The mi_routine_get_by_typeid() function returns NULL if either of the following errors occurs:

Other internal errors raise an exception.

This function is available only in the database server.

Return Values

A handle to the matching routine, or NULL if no matching user-defined routine is found or if the user-defined routine has multiple return values.

Example

The following code fragment illustrates how to determine whether a NULL return value indicates no matching routine or multiple return values:

Related Topics

For additional information, see the descriptions of the following functions: mi_cast_get() and mi_routine_get().




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