summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-sysroot.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-04-03 23:45:48 -0400
committerColin Walters <walters@verbum.org>2012-04-03 23:46:34 -0400
commitbae584c64ab2ee3c669e81389cf0133bd9608ec2 (patch)
tree9188c9cb89f0bf6fca6d75bc0bd071f879be47fc /src/libostree/ostree-sysroot.h
parent3f23ac156ae236496d0141d8d1be9ac9149180f8 (diff)
downloadostree-bae584c64ab2ee3c669e81389cf0133bd9608ec2.tar.gz
core: Associate branches with remotes, move trigger runs into checkout
Also add --atomic-retarget option to checkout. This does the magical symlink dance to do atomic swaps between trees.
Diffstat (limited to 'src/libostree/ostree-sysroot.h')
-rw-r--r--src/libostree/ostree-sysroot.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/libostree/ostree-sysroot.h b/src/libostree/ostree-sysroot.h
new file mode 100644
index 00000000..b10246df
--- /dev/null
+++ b/src/libostree/ostree-sysroot.h
@@ -0,0 +1,39 @@
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
+ *
+ * Copyright (C) 2011 Colin Walters <walters@verbum.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Author: Colin Walters <walters@verbum.org>
+ */
+
+#ifndef _OSTREE_SYSROOT
+#define _OSTREE_SYSROOT
+
+#include "ostree-core.h"
+#include "ostree-types.h"
+
+G_BEGIN_DECLS
+
+const char *const* ostree_get_sysroot_environ (void);
+
+gboolean ostree_run_triggers_in_root (GFile *root,
+ GCancellable *cancellable,
+ GError **error);
+
+G_END_DECLS
+
+#endif