1bd20e2a575473f3d05499f05f1d72da59b34fd6Stephan Bosch/* Parses HTTP-date string into time_t timestamp. */
1bd20e2a575473f3d05499f05f1d72da59b34fd6Stephan Boschbool http_date_parse(const unsigned char *data, size_t size,
1bd20e2a575473f3d05499f05f1d72da59b34fd6Stephan Bosch/* Equal to http_date_parse, but writes uncompensated timestamp to tm_r. */
1bd20e2a575473f3d05499f05f1d72da59b34fd6Stephan Boschbool http_date_parse_tm(const unsigned char *data, size_t size,
1bd20e2a575473f3d05499f05f1d72da59b34fd6Stephan Bosch/* Create HTTP-date string from given time struct. */
1bd20e2a575473f3d05499f05f1d72da59b34fd6Stephan Boschconst char *http_date_create_tm(struct tm *tm);
1bd20e2a575473f3d05499f05f1d72da59b34fd6Stephan Bosch/* Create HTTP-date string from given time. */