gda-util

Name

gda-util -- Convenient functions

Synopsis



gchar*      gda_util_load_file              (const gchar *filename);
gboolean    gda_util_save_file              (const gchar *filename,
                                             const gchar *text);

Description

Details

gda_util_load_file ()

gchar*      gda_util_load_file              (const gchar *filename);

Load a file from disk, and return its contents as a newly-allocated string. You must then free it yourself when no longer needed

filename : file name
Returns : 


gda_util_save_file ()

gboolean    gda_util_save_file              (const gchar *filename,
                                             const gchar *text);

Save the given text into a file

filename : file name
text : file contents
Returns :