source: benchmark/io/http/filecache.hfa @ 680ae0e

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 680ae0e was 0aec496, checked in by Thierry Delisle <tdelisle@…>, 4 years ago

First attempt at webserver, no option support yet

  • Property mode set to 100644
File size: 224 bytes
Line 
1#pragma once
2
3#include <stdint.h>
4
5struct cache_line {
6        const char * file;
7        size_t size;
8        int fd;
9};
10
11[int fd, size_t size] get_file( * const char file, size_t len );
12void fill_cache( const char * path );
13void close_cache();
Note: See TracBrowser for help on using the repository browser.