diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-01 13:50:13 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-01 15:02:14 +0300 |
commit | 2319d01e262b705716e19474865f555f3ca81a7d (patch) | |
tree | 15ffb5b3f998a2cc0def729d2f1f76f578d8d139 /bpkg/checksum | |
parent | 5fb0df6f63e02c141e8a0e5ad4543dea525df3fc (diff) |
Add hxx extension for headers and lib prefix for library dirs
Diffstat (limited to 'bpkg/checksum')
-rw-r--r-- | bpkg/checksum | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/bpkg/checksum b/bpkg/checksum deleted file mode 100644 index 002162b..0000000 --- a/bpkg/checksum +++ /dev/null @@ -1,32 +0,0 @@ -// file : bpkg/checksum -*- C++ -*- -// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd -// license : MIT; see accompanying LICENSE file - -#ifndef BPKG_CHECKSUM -#define BPKG_CHECKSUM - -#include <bpkg/types> -#include <bpkg/utility> - -#include <bpkg/common-options> - -namespace bpkg -{ - // Calculate SHA256 sum of the specified memory buffer in binary mode. Issue - // diagnostics and throw failed if anything goes wrong. - // - string - sha256 (const common_options&, const char* buf, size_t n); - - // The same but for a stream (if ifdstream, open in binary mode). - // - string - sha256 (const common_options&, istream&); - - // The same but for a file. - // - string - sha256 (const common_options&, const path& file); -} - -#endif // BPKG_CHECKSUM |