/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Copyright 2011 Danny Robson */ #ifndef __UTIL_SI_HPP #define __UTIL_SI_HPP #include uintmax_t to_KiB (uintmax_t bytes); uintmax_t to_MiB (uintmax_t bytes); uintmax_t to_GiB (uintmax_t bytes); uintmax_t from_KiB (uintmax_t bytes); uintmax_t from_MiB (uintmax_t bytes); uintmax_t from_GiB (uintmax_t bytes); #endif