gda-util

Name

gda-util -- 

Synopsis



const gchar* gda_type_to_string             (GdaValueType type);
GdaValueType gda_type_from_string           (const gchar *str);
GList*      gda_string_hash_to_list         (GHashTable *hash_table);
gchar*      gda_file_load                   (const gchar *filename);
gboolean    gda_file_save                   (const gchar *filename,
                                             const gchar *buffer,
                                             gint len);

Description

Details

gda_type_to_string ()

const gchar* gda_type_to_string             (GdaValueType type);

Return the string representing the given GdaType.


gda_type_from_string ()

GdaValueType gda_type_from_string           (const gchar *str);


gda_string_hash_to_list ()

GList*      gda_string_hash_to_list         (GHashTable *hash_table);


gda_file_load ()

gchar*      gda_file_load                   (const gchar *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.


gda_file_save ()

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

Saves a chunk of data into a file.