2012-12-28 19:03:09 +08:00
|
|
|
#ifndef HEADER_CURL_PARSEDATE_H
|
|
|
|
#define HEADER_CURL_PARSEDATE_H
|
2005-02-11 08:03:49 +08:00
|
|
|
/***************************************************************************
|
|
|
|
* _ _ ____ _
|
|
|
|
* Project ___| | | | _ \| |
|
|
|
|
* / __| | | | |_) | |
|
|
|
|
* | (__| |_| | _ <| |___
|
|
|
|
* \___|\___/|_| \_\_____|
|
|
|
|
*
|
2019-11-03 06:41:43 +08:00
|
|
|
* Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
2005-02-11 08:03:49 +08:00
|
|
|
*
|
|
|
|
* This software is licensed as described in the file COPYING, which
|
|
|
|
* you should have received as part of this distribution. The terms
|
2016-02-03 07:19:02 +08:00
|
|
|
* are also available at https://curl.haxx.se/docs/copyright.html.
|
2005-02-11 08:03:49 +08:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
***************************************************************************/
|
2008-07-12 02:59:00 +08:00
|
|
|
|
2005-02-11 08:03:49 +08:00
|
|
|
extern const char * const Curl_wkday[7];
|
|
|
|
extern const char * const Curl_month[12];
|
|
|
|
|
2011-02-07 22:00:48 +08:00
|
|
|
CURLcode Curl_gmtime(time_t intime, struct tm *store);
|
|
|
|
|
2019-11-28 22:27:58 +08:00
|
|
|
/* Curl_getdate_capped() differs from curl_getdate() in that this will return
|
|
|
|
TIME_T_MAX in case the parsed time value was too big, instead of an
|
|
|
|
error. */
|
|
|
|
|
|
|
|
time_t Curl_getdate_capped(const char *p);
|
|
|
|
|
2012-12-28 19:03:09 +08:00
|
|
|
#endif /* HEADER_CURL_PARSEDATE_H */
|