Previously it was static to ostree-repo.c. Make it usable throughout libostree so it can be used by an upcoming commit, but also expose the typedef and reference counting functions so that opaque OstreeRemote pointers can be used by user code, in anticipation of exposing more of its API publicly in future. Signed-off-by: Philip Withnall <withnall@endlessm.com> Closes: #832 Approved by: cgwalters
40 lines
1.3 KiB
C
40 lines
1.3 KiB
C
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
|
*
|
|
* Copyright (C) 2011,2013 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.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <ostree-async-progress.h>
|
|
#include <ostree-core.h>
|
|
#include <ostree-repo.h>
|
|
#include <ostree-mutable-tree.h>
|
|
#ifdef OSTREE_ENABLE_EXPERIMENTAL_API
|
|
#include <ostree-remote.h>
|
|
#endif
|
|
#include <ostree-repo-file.h>
|
|
#include <ostree-sysroot.h>
|
|
#include <ostree-sysroot-upgrader.h>
|
|
#include <ostree-deployment.h>
|
|
#include <ostree-bootconfig-parser.h>
|
|
#include <ostree-diff.h>
|
|
#include <ostree-gpg-verify-result.h>
|
|
|
|
#include <ostree-autocleanups.h>
|
|
#include <ostree-version.h>
|