diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-01-19 18:32:33 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-01-22 18:41:54 -0800 |
commit | cef5c331fe6ab827e71aed1e4e0387983083c88e (patch) | |
tree | 47c71da0e81f25678640032d5708212ef022072e /src/parsedate/parsedate.h | |
parent | 5cd123422ed026912c53c44a393f141f990a09df (diff) | |
download | qtlocation-mapboxgl-cef5c331fe6ab827e71aed1e4e0387983083c88e.tar.gz |
[core] Merge rfc1123, iso8601, and parse_date into chrono.hpp and fix their API
Diffstat (limited to 'src/parsedate/parsedate.h')
-rw-r--r-- | src/parsedate/parsedate.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/parsedate/parsedate.h b/src/parsedate/parsedate.h new file mode 100644 index 0000000000..6905e361d4 --- /dev/null +++ b/src/parsedate/parsedate.h @@ -0,0 +1,38 @@ +#ifndef HEADER_PARSEDATE_H +#define HEADER_PARSEDATE_H +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at http://curl.haxx.se/docs/copyright.html. + * + * You may opt to use, copy, modify, merge, publish, distribute and/or sell + * copies of the Software, and permit persons to whom the Software is + * furnished to do so, under the terms of the COPYING file. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ***************************************************************************/ + + +#ifdef __cplusplus +extern "C" { +#endif + +#include <time.h> + +time_t parse_date(const char *p); + +#ifdef __cplusplus +} +#endif + +#endif /* HEADER_PARSEDATE_H */ |