#include "curl_setup.h"
#include <curl/curl.h>
#include "strcase.h"
#include "warnless.h"
#include "parsedate.h"
Go to the source code of this file.
◆ PARSEDATE_FAIL
| #define PARSEDATE_FAIL -1 |
◆ PARSEDATE_LATER
| #define PARSEDATE_LATER 1 |
◆ PARSEDATE_OK
◆ PARSEDATE_SOONER
| #define PARSEDATE_SOONER 2 |
◆ tDAYZONE
| #define tDAYZONE -60 /* offset for daylight savings time */ |
◆ assume
| Enumerator |
|---|
| DATE_MDAY | |
| DATE_YEAR | |
| DATE_TIME | |
Definition at line 267 of file parsedate.c.
◆ checkday()
| static int checkday |
( |
const char * |
check, |
|
|
size_t |
len |
|
) |
| |
|
static |
◆ checkmonth()
| static int checkmonth |
( |
const char * |
check | ) |
|
|
static |
◆ checktz()
| static int checktz |
( |
const char * |
check | ) |
|
|
static |
◆ curl_getdate()
| time_t curl_getdate |
( |
const char * |
p, |
|
|
const time_t * |
now |
|
) |
| |
◆ Curl_gmtime()
| CURLcode Curl_gmtime |
( |
time_t |
intime, |
|
|
struct tm * |
store |
|
) |
| |
◆ my_timegm()
| static time_t my_timegm |
( |
struct my_tm * |
tm | ) |
|
|
static |
◆ parsedate()
| static int parsedate |
( |
const char * |
date, |
|
|
time_t * |
output |
|
) |
| |
|
static |
◆ skip()
| static void skip |
( |
const char ** |
date | ) |
|
|
static |
◆ Curl_month
| const char* const Curl_month[] |
Initial value:=
{ "Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec" }
Definition at line 92 of file parsedate.c.
◆ Curl_wkday
| const char* const Curl_wkday[] |
Initial value:=
{"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"}
Definition at line 87 of file parsedate.c.
◆ tz
◆ weekday
| const char* const weekday[] |
|
static |
Initial value:=
{ "Monday", "Tuesday", "Wednesday", "Thursday",
"Friday", "Saturday", "Sunday" }
Definition at line 89 of file parsedate.c.