summaryrefslogtreecommitdiff
path: root/metadata/metatree.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-06-22 20:49:30 +0200
committerAlexander Larsson <alexl@redhat.com>2009-06-23 15:10:27 +0200
commit9a185243a13620b860ba1ed3601a16a6d2f7c3a1 (patch)
tree75f77145c324ebd9fc61c4b12206aef55a0a6ea8 /metadata/metatree.h
parent66fb95bc205528a4ed3e0238e4b826027bd33a66 (diff)
downloadgvfs-9a185243a13620b860ba1ed3601a16a6d2f7c3a1.tar.gz
Add MetaTree lookup by name
Diffstat (limited to 'metadata/metatree.h')
-rw-r--r--metadata/metatree.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/metadata/metatree.h b/metadata/metatree.h
index 734412c1..e36fc69b 100644
--- a/metadata/metatree.h
+++ b/metadata/metatree.h
@@ -24,14 +24,17 @@ MetaLookupCache *meta_lookup_cache_new (void);
void meta_lookup_cache_free (MetaLookupCache *cache);
MetaTree *meta_lookup_cache_lookup_path (MetaLookupCache *cache,
const char *filename,
- guint64 device);
-
-MetaTree *meta_tree_open (const char *filename,
- gboolean for_write);
-MetaTree *meta_tree_ref (MetaTree *tree);
-void meta_tree_unref (MetaTree *tree);
-void meta_tree_refresh (MetaTree *tree); /* May invalidates all strings */
+ guint64 device,
+ gboolean for_write,
+ char **tree_path);
+MetaTree *meta_tree_open (const char *filename,
+ gboolean for_write);
+MetaTree *meta_tree_lookup_by_name (const char *name,
+ gboolean for_write);
+MetaTree *meta_tree_ref (MetaTree *tree);
+void meta_tree_unref (MetaTree *tree);
+void meta_tree_refresh (MetaTree *tree); /* May invalidates all strings */
MetaKeyType meta_tree_lookup_key_type (MetaTree *tree,
const char *path,