Blame src/libostree/ostree-repo-deprecated.h

rpm-build 0fba15
/*
rpm-build 0fba15
 * Copyright (C) 2016 Red Hat, Inc.
rpm-build 0fba15
 *
rpm-build 0fba15
 * SPDX-License-Identifier: LGPL-2.0+
rpm-build 0fba15
 *
rpm-build 0fba15
 * This library is free software; you can redistribute it and/or
rpm-build 0fba15
 * modify it under the terms of the GNU Lesser General Public
rpm-build 0fba15
 * License as published by the Free Software Foundation; either
rpm-build 0fba15
 * version 2 of the License, or (at your option) any later version.
rpm-build 0fba15
 *
rpm-build 0fba15
 * This library is distributed in the hope that it will be useful,
rpm-build 0fba15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
rpm-build 0fba15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
rpm-build 0fba15
 * Lesser General Public License for more details.
rpm-build 0fba15
 *
rpm-build 0fba15
 * You should have received a copy of the GNU Lesser General Public
rpm-build 0fba15
 * License along with this library; if not, write to the
rpm-build 0fba15
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
rpm-build 0fba15
 * Boston, MA 02111-1307, USA.
rpm-build 0fba15
 */
rpm-build 0fba15
rpm-build 0fba15
#pragma once
rpm-build 0fba15
rpm-build 0fba15
#include "ostree-core.h"
rpm-build 0fba15
#include "ostree-types.h"
rpm-build 0fba15
rpm-build 0fba15
#ifndef __GI_SCANNER__
rpm-build 0fba15
#ifndef G_GNUC_DEPRECATED_FOR
rpm-build 0fba15
# define G_GNUC_DEPRECATED_FOR(x)
rpm-build 0fba15
#endif
rpm-build 0fba15
#endif
rpm-build 0fba15
rpm-build 0fba15
G_BEGIN_DECLS
rpm-build 0fba15
rpm-build 0fba15
/**
rpm-build 0fba15
 * OstreeRepoCheckoutOptions: (skip)
rpm-build 0fba15
 *
rpm-build 0fba15
 * An extensible options structure controlling checkout.  Ensure that
rpm-build 0fba15
 * you have entirely zeroed the structure, then set just the desired
rpm-build 0fba15
 * options.  This is used by ostree_repo_checkout_tree_at() which
rpm-build 0fba15
 * supercedes previous separate enumeration usage in
rpm-build 0fba15
 * ostree_repo_checkout_tree().
rpm-build 0fba15
 */
rpm-build 0fba15
typedef struct {
rpm-build 0fba15
  OstreeRepoCheckoutMode mode;
rpm-build 0fba15
  OstreeRepoCheckoutOverwriteMode overwrite_mode;
rpm-build 0fba15
rpm-build 0fba15
  guint enable_uncompressed_cache : 1;
rpm-build 0fba15
  guint disable_fsync : 1;
rpm-build 0fba15
  guint process_whiteouts : 1;
rpm-build 0fba15
  guint no_copy_fallback : 1;
rpm-build 0fba15
  guint reserved : 28;
rpm-build 0fba15
rpm-build 0fba15
  const char *subpath;
rpm-build 0fba15
rpm-build 0fba15
  OstreeRepoDevInoCache *devino_to_csum_cache;
rpm-build 0fba15
rpm-build 0fba15
  guint unused_uints[6];
rpm-build 0fba15
  gpointer unused_ptrs[7];
rpm-build 0fba15
} OstreeRepoCheckoutOptions;
rpm-build 0fba15
rpm-build 0fba15
_OSTREE_PUBLIC
rpm-build 0fba15
gboolean ostree_repo_checkout_tree_at (OstreeRepo                         *self,
rpm-build 0fba15
                                       OstreeRepoCheckoutOptions          *options,
rpm-build 0fba15
                                       int                                 destination_dfd,
rpm-build 0fba15
                                       const char                         *destination_path,
rpm-build 0fba15
                                       const char                         *commit,
rpm-build 0fba15
                                       GCancellable                       *cancellable,
rpm-build 0fba15
                                       GError                            **error)
rpm-build 0fba15
G_GNUC_DEPRECATED_FOR(ostree_repo_checkout_at);
rpm-build 0fba15
rpm-build 0fba15
G_END_DECLS