dbsetavail

Description

Marks a DBPROCESS as being available for general use.

Syntax

void dbsetavail(dbproc)
 
DBPROCESS    *dbproc;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and server.

Returns

None.

Usage

This routine marks the DBPROCESS as being available for general use. Any subsequent calls to DBISAVAIL will return “TRUE”, until some use is made of the DBPROCESS. Many DB-Library routines automatically set the DBPROCESS to “not available.” This is useful when many different parts of a program are attempting to share a single DBPROCESS.

See also

DBISAVAIL