cp_data_source_get_connection(3) - Linux man page

Name

cp_data_source_get_connection - obtain a database connection from a connection factory

Synopsis

#include <cprops/db.h>

cp_db_connection *

cp_data_source_get_connection(cp_data_source *data_source);

Description

cp_data_source_get_connection opens a new connection with the parameters specified in the creation of the connection factory data_source.

Return Value

a cp_db_connection structure representing the newly created connection on success or NULL on failure.

Referenced By

cp_dbms(3)