Gda

Description

Members

Static functions

fileLoad
string fileLoad(string filename)

Loads a file, specified by the given uri, and returns the file contents as a string. It is the caller's responsibility to free the returned value.

fileSave
int fileSave(string filename, string buffer, int len)

Saves a chunk of data into a file.

init
void init(string appId, string versio, string[] args)

Initializes the GDA library.

mainQuit
void mainQuit()

Exits the main loop.

mainRun
void mainRun(GdaInitFunc initFunc, void* userData)

Runs the GDA main loop, which is nothing more than the Bonobo main loop, but with internally added stuff specific for applications using libgda. You can specify a function to be called after everything has been correctly initialized (that is, for initializing your own stuff).

sqlReplacePlaceholders
string sqlReplacePlaceholders(string sql, ParameterList params)

Replaces the placeholders (:name) in the given SQL command with the values from the GdaParameterList specified as the params argument.

stringHashToList
ListG stringHashToList(HashTable hashTable)

Creates a new list of strings, which contains all keys of a given hash table. After using it, you should free this list by calling g_list_free.

typeFromString
GdaValueType typeFromString(string str)
typeToString
string typeToString(GdaValueType type)

Meta