source: benchmark/io/http/options.hfa @ 03ed863

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

Http request buffer size is now configurable

  • Property mode set to 100644
File size: 466 bytes
RevLine 
[0aec496]1#pragma once
2
3#include <stdint.h>
4
5struct cluster;
6
7struct Options {
[2ecbd7b]8        struct {
9                int open_flags;
10                uint32_t hash_seed;
11                size_t size;
12                bool list;
13                bool fixed_fds;
14        } file_cache;
15
16        struct {
17                int port;
18                int backlog;
[03ed863]19                int buflen;
[2ecbd7b]20        } socket;
21
22        struct {
23                int nprocs;
24                int nworkers;
25                int flags;
26                int chan_size;
27                bool procstats;
28                bool viewhalts;
29                cluster * instance;
30        } clopts;
[0aec496]31};
32
[2ecbd7b]33extern Options options;
34
35const char * parse_options( int argc, char * argv[] );
Note: See TracBrowser for help on using the repository browser.