Some formulae for migration from old version

Table of Contents
Compiling and initialising
Configuration and connections
Executing commands
Managing data
Managing errors
Managing transactions

Compiling and initialising

To compile you do not need to link with many libraries and configure directories of headers files, only capture the output of pkg-config as follows:

          $  gcc -o main `pkg-config --cflags --libs libgda` main.c
        

Further more, you only need to include one headers file and it is:

    #include <libgda/libgda.h>
        

As in the old version, you need to call gda_init() to initialise the library:

          gda_init ("TestGDA", "0.1", argc, argv);