gvdb_table_new
GvdbTable* gvdb_table_new (const gchar* filename,
gboolean trusted);
Creates a new Gvdb.Table using the GLib.MappedFile for filename as the GLib.Bytes.
This function will fail if the file cannot be opened. In that case, the GLib.Error that is returned will be an error from g_mapped_file_new().
An empty or corrupt file will result in %G_FILE_ERROR_INVAL.
- filename
a filename
- trusted
if the contents of @bytes are trusted
- Returns
a new Gvdb.Table