From 2319d01e262b705716e19474865f555f3ca81a7d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 1 May 2017 13:50:13 +0300 Subject: Add hxx extension for headers and lib prefix for library dirs --- bpkg/fetch.hxx | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 bpkg/fetch.hxx (limited to 'bpkg/fetch.hxx') diff --git a/bpkg/fetch.hxx b/bpkg/fetch.hxx new file mode 100644 index 0000000..e047f29 --- /dev/null +++ b/bpkg/fetch.hxx @@ -0,0 +1,45 @@ +// file : bpkg/fetch.hxx -*- C++ -*- +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BPKG_FETCH_HXX +#define BPKG_FETCH_HXX + +#include + +#include +#include + +#include + +namespace bpkg +{ + repository_manifests + fetch_repositories (const dir_path&, bool ignore_unknown); + + pair + fetch_repositories (const common_options&, + const repository_location&, + bool ignore_unknown); + + package_manifests + fetch_packages (const dir_path&, bool ignore_unknown); + + pair + fetch_packages (const common_options&, + const repository_location&, + bool ignore_unknown); + + signature_manifest + fetch_signature (const common_options&, + const repository_location&, + bool ignore_unknown); + + path + fetch_archive (const common_options&, + const repository_location&, + const path& archive, + const dir_path& destdir); +} + +#endif // BPKG_FETCH_HXX -- cgit v1.1