#ifndef CACHE_H #define CACHE_H #include "link.h" #include /** * \file cache.h * \brief cache related structures and functions * \details * - We store the metadata and the actual data separately in two * separate folders. */ /** * \brief Type definition for a cache segment */ typedef uint8_t Seg; /** * \brief cache in-memory data structure */ typedef struct { char *path; /**< the path to the file on the web server */ Link *link; /**< the Link associated with this cache data set */ long time; /**