mco_db_connection_context

Get the context associated with a connection.

Prototype

 
    void * mco_db_connection_context(	/*IN*/ mco_db_h db);
 

Arguments

db The handle to an existing database

Description

This function returns the database context data associated with this connection. This function call is normally used as the second argument in a call to mco_db_connect_ctx().

Return Codes

void * Connection context, or null if the context is not defined via a previous call to mco_db_connect_ctx()

Example

If example code demonstrating how to use this function is required, please contact McObject Support by clicking on the "Send Feedback" link below.

 
    No example code provided.
     

Files

Header file:
mco.h
Source file:
mcoconn.c
Library:
libmcolib.a