Name
gda-util -- Convenient functions
Details
gda_util_hash_to_list ()
GList* gda_util_hash_to_list (GHashTable *hash_table); |
Convert a GHashTable into a GList. It only adds to the list the
hash table's keys, not the data associated with it. Another thing
this function assumes is that the keys are strings (that is,
zero-delimited sequence of characters)
gda_util_destroy_hash_pair ()
gboolean gda_util_destroy_hash_pair (gchar *key,
gpointer value,
GFreeFunc free_func); |
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
gda_util_save_file ()
gboolean gda_util_save_file (const gchar *filename,
const gchar *text); |
Save the given text into a file