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/checksum | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 bpkg/checksum (limited to 'bpkg/checksum') 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 -#include - -#include - -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 -- cgit v1.1