gda-util

Name

gda-util -- 

Synopsis



gchar*      gda_file_load                   (const gchar *uri);
gboolean    gda_file_save                   (const gchar *uri,
                                             const gchar *buffer,
                                             gint len);

Description

Details

gda_file_load ()

gchar*      gda_file_load                   (const gchar *uri);

uri : URI for the file to be loaded.
Returns : 


gda_file_save ()

gboolean    gda_file_save                   (const gchar *uri,
                                             const gchar *buffer,
                                             gint len);

Saves a chunk of data into a file. As libgda uses GnomeVFS for all its file access, this function allows you to save both to local files and to any other target supported by GnomeVFS.

uri : URI for the file to be saved.
buffer : contents of the file.
len : size of buffer.
Returns : TRUE if successful, FALSE on error.