cp_db_connection_commit(3)

cp_dbms(3) cp_dbms cp_dbms(3)

NAME

cp_db_connection_commit, cp_db_connection_rollback - perform a COMMIT / ROLLBACK on a database connection

SYNOPSIS

#include <cprops/db.h>

int cp_db_connection_commit(cp_db_connection *conn);
int cp_db_connection_rollback(cp_db_connection *conn);

DESCRIPTION

cp_db_connection_commit performs a commit on a database connection.

cp_db_connection_rollback performs a rollback on a database connection.

RETURN VALUE

cp_db_connection_commit and cp_db_connection_rollback return zero on success or non-zero on error.

MARCH 2006 libcprops