#ifndef TIME_H #define TIME_H #include "nwedav.h" int time_format_http(int64_t timestamp, char *buf, size_t len); int time_format_iso8601(int64_t timestamp, char *buf, size_t len); int time_format_rfc3339(int64_t timestamp, char *buf, size_t len); int64_t time_parse_http(const char *str); int64_t time_parse_iso8601(const char *str); char *time_format_etag(int64_t mtime, int64_t size); #endif