/* * Copyright 2014 Vincent Sanders * * This file is part of libnsutils. * * Licensed under the MIT License, * http://www.opensource.org/licenses/mit-license.php */ /** * \file * Base64 encoding and decoding interface. */ #ifndef NSUTILS_TIME_H_ #define NSUTILS_TIME_H_ #include /** * Get a monotonically incrementing number of milliseconds. * * Obtain a count of elapsed time in milliseconds. Unlike gettimeofday this * will continue linearly across time setting and not go backwards, * * \param current The current value of the counter. * \return NSERROR_OK on success else error code. */ nsuerror nsu_getmonotonic_ms(uint64_t *current); #endif