1/** 2 * \file 3 * \brief File cache for HTTP server 4 */ 5 6/* 7 * Copyright (c) 2008, ETH Zurich. 8 * All rights reserved. 9 * 10 * This file is distributed under the terms in the attached LICENSE file. 11 * If you do not find this file, copies can be found by writing to: 12 * ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group. 13 */ 14 15#ifndef HTTP_CACHE_H 16#define HTTP_CACHE_H 17#include "webserver_session.h" 18errval_t http_cache_init (struct in_addr server, const char *path, 19 void (*callback)(void)); 20errval_t http_cache_lookup (const char *name, struct http_conn *cs); 21long decrement_buff_holder_ref (struct buff_holder *bh); 22long decrement_reference (struct http_conn *cs); 23#endif // HTTP_CACHE_H 24