Header value formatting. More...
Macros | |
#define | VTM_HTTP_DATE_LEN 30 |
Functions | |
VTM_API int | vtm_http_fmt_date (char *dst, size_t max_len, struct vtm_date *date) |
#define VTM_HTTP_DATE_LEN 30 |
Minimum buffer length in bytes for holding a formatted HTTP date
VTM_API int vtm_http_fmt_date | ( | char * | dst, |
size_t | max_len, | ||
struct vtm_date * | date | ||
) |
Converts given date to HTTP date format.
dst | the buffer where the converted date string is stored |
max_lan | the length of the buffer in bytes |
date | the date that should be converted |