summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-file.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-12-21 13:41:38 -0500
committerColin Walters <walters@verbum.org>2011-12-21 13:41:38 -0500
commit06548f137e90454ada6a4e5414aadf0dac982043 (patch)
tree2cbcee344b8b62b01fe90ee11a489af46d22ea99 /src/libostree/ostree-repo-file.h
parent2b7a83d1cc4dc44c145fbb4dccd9b994f21256da (diff)
downloadostree-06548f137e90454ada6a4e5414aadf0dac982043.tar.gz
core: Make OstreeRepoFile "public"
* "ls" used it * It's not like our internal API is 100% stable anyways * The _ is ugly
Diffstat (limited to 'src/libostree/ostree-repo-file.h')
-rw-r--r--src/libostree/ostree-repo-file.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/libostree/ostree-repo-file.h b/src/libostree/ostree-repo-file.h
index 5a2dd627..1d3f7f47 100644
--- a/src/libostree/ostree-repo-file.h
+++ b/src/libostree/ostree-repo-file.h
@@ -27,7 +27,7 @@
G_BEGIN_DECLS
-#define OSTREE_TYPE_REPO_FILE (_ostree_repo_file_get_type ())
+#define OSTREE_TYPE_REPO_FILE (ostree_repo_file_get_type ())
#define OSTREE_REPO_FILE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), OSTREE_TYPE_REPO_FILE, OstreeRepoFile))
#define OSTREE_REPO_FILE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), OSTREE_TYPE_REPO_FILE, OstreeRepoFileClass))
#define OSTREE_IS_REPO_FILE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), OSTREE_TYPE_REPO_FILE))
@@ -42,47 +42,47 @@ struct _OstreeRepoFileClass
GObjectClass parent_class;
};
-GType _ostree_repo_file_get_type (void) G_GNUC_CONST;
+GType ostree_repo_file_get_type (void) G_GNUC_CONST;
-GFile * _ostree_repo_file_new_root (OstreeRepo *repo,
+GFile * ostree_repo_file_new_root (OstreeRepo *repo,
const char *commit);
-GFile * _ostree_repo_file_new_child (OstreeRepoFile *parent,
+GFile * ostree_repo_file_new_child (OstreeRepoFile *parent,
const char *name);
-gboolean _ostree_repo_file_ensure_resolved (OstreeRepoFile *self,
+gboolean ostree_repo_file_ensure_resolved (OstreeRepoFile *self,
GError **error);
-gboolean _ostree_repo_file_get_xattrs (OstreeRepoFile *self,
+gboolean ostree_repo_file_get_xattrs (OstreeRepoFile *self,
GVariant **out_xattrs,
GCancellable *cancellable,
GError **error);
-OstreeRepo * _ostree_repo_file_get_repo (OstreeRepoFile *self);
-OstreeRepoFile * _ostree_repo_file_get_root (OstreeRepoFile *self);
+OstreeRepo * ostree_repo_file_get_repo (OstreeRepoFile *self);
+OstreeRepoFile * ostree_repo_file_get_root (OstreeRepoFile *self);
-void _ostree_repo_file_make_empty_tree (OstreeRepoFile *self);
+void ostree_repo_file_make_empty_tree (OstreeRepoFile *self);
-void _ostree_repo_file_tree_set_metadata (OstreeRepoFile *self,
+void ostree_repo_file_tree_set_metadata (OstreeRepoFile *self,
const char *checksum,
GVariant *metadata);
-void _ostree_repo_file_tree_set_content_checksum (OstreeRepoFile *self,
+void ostree_repo_file_tree_set_content_checksum (OstreeRepoFile *self,
const char *checksum);
-const char *_ostree_repo_file_tree_get_content_checksum (OstreeRepoFile *self);
+const char *ostree_repo_file_tree_get_content_checksum (OstreeRepoFile *self);
-gboolean _ostree_repo_file_is_tree (OstreeRepoFile *self);
+gboolean ostree_repo_file_is_tree (OstreeRepoFile *self);
-const char * _ostree_repo_file_get_checksum (OstreeRepoFile *self);
+const char * ostree_repo_file_get_checksum (OstreeRepoFile *self);
-GFile *_ostree_repo_file_nontree_get_local (OstreeRepoFile *self);
+GFile *ostree_repo_file_nontree_get_local (OstreeRepoFile *self);
-int _ostree_repo_file_tree_find_child (OstreeRepoFile *self,
+int ostree_repo_file_tree_find_child (OstreeRepoFile *self,
const char *name,
gboolean *is_dir,
GVariant **out_container);
-gboolean _ostree_repo_file_tree_query_child (OstreeRepoFile *self,
+gboolean ostree_repo_file_tree_query_child (OstreeRepoFile *self,
int n,
const char *attributes,
GFileQueryInfoFlags flags,
@@ -90,8 +90,8 @@ gboolean _ostree_repo_file_tree_query_child (OstreeRepoFile *self,
GCancellable *cancellable,
GError **error);
-GVariant *_ostree_repo_file_tree_get_contents (OstreeRepoFile *self);
-GVariant *_ostree_repo_file_tree_get_metadata (OstreeRepoFile *self);
+GVariant *ostree_repo_file_tree_get_contents (OstreeRepoFile *self);
+GVariant *ostree_repo_file_tree_get_metadata (OstreeRepoFile *self);
G_END_DECLS