resolve cyclic dependency with zstd
[platform/upstream/cmake.git] / Source / cm_get_date.h
1 /* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
2    file Copyright.txt or https://cmake.org/licensing for details.  */
3 #pragma once
4
5 #include <time.h> /* NOLINT(modernize-deprecated-headers) */
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10
11 /** Parse a date/time string.  Treat relative times with respect to 'now'. */
12 time_t cm_get_date(time_t now, const char* str);
13
14 #ifdef __cplusplus
15 } /* extern "C" */
16 #endif