yada.trx(3)                                                        yada.trx(3)

NAME
       yada transaction functions

SYNOPSIS
       #include <yada.h>

       int yada.trx(yada_t *yada_rc, int flags);
       void yada.commit(yada_t *yada);
       void yada.rollback(yada_t *yada);

DESCRIPTION
       Yada  is  a  database abstraction library aimed at allowing transparent
       use of multiple databases.  To accomplish this, it uses a compatability
       layer  of  functions to bind input and output variables, prepare state-
       ments, and retreive data.

       These are the transaction handling functions for yada.

       trx() begins a transaction, flags (currently unused) will allow you  to
       start different types of transactions.

       commit() commits a transaction causing any changes made to be saved.

       rollback()   rolls  back  the  transaction  undoing  any  transactional
       changes.

SEE ALSO
       yada(3)

                                                                   yada.trx(3)