19#ifndef NETSURF_UTILS_HTTP_CACHE_CONTROL_H_
20#define NETSURF_UTILS_HTTP_CACHE_CONTROL_H_
22#include <libwapcaplet/libwapcaplet.h>
uint32_t http_cache_control_max_age(http_cache_control *cc)
Get the value of a cache control's max-age.
bool http_cache_control_has_max_age(http_cache_control *cc)
Determine if a valid max-age directive is present.
nserror http_parse_cache_control(const char *header_value, http_cache_control **result)
Parse an HTTP Cache-Control header value.
void http_cache_control_destroy(http_cache_control *victim)
Destroy a cache_control object.
bool http_cache_control_no_cache(http_cache_control *cc)
Get the value of a cache control's no-cache flag.
bool http_cache_control_no_store(http_cache_control *cc)
Get the value of a cache control's no-store flag.
nserror
Enumeration of error codes.
Representation of a Cache-Control.