![]() |
MySQL 8.0.44
Source Code Documentation
|
#include <array>#include <cstdio>#include <cstring>#include <ctime>#include <map>#include <iostream>#include <stdexcept>#include "mysqlrouter/http_request.h"Functions | |
| int | time_to_rfc5322_fixdate (time_t ts, char *date_buf, size_t date_buf_len) |
| convert time_t into a Date: header value. More... | |
| static time_t | time_from_struct_tm_utc (struct tm *t_m) |
| time_t | time_from_rfc5322_fixdate (const char *date_buf) |
| convert a Date: header into a time_t. More... | |
| time_t time_from_rfc5322_fixdate | ( | const char * | date_buf | ) |
convert a Date: header into a time_t.
| std::out_of_range | on invalid formats |
|
static |
| int time_to_rfc5322_fixdate | ( | time_t | ts, |
| char * | date_buf, | ||
| size_t | date_buf_len | ||
| ) |
convert time_t into a Date: header value.