ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since d2b5d2d 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
|
Line | |
---|
1 | #pragma once |
---|
2 | |
---|
3 | #include <stdint.h> |
---|
4 | |
---|
5 | struct cluster; |
---|
6 | |
---|
7 | struct Options { |
---|
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; |
---|
19 | int buflen; |
---|
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; |
---|
31 | }; |
---|
32 | |
---|
33 | extern Options options; |
---|
34 | |
---|
35 | const char * parse_options( int argc, char * argv[] ); |
---|
Note: See
TracBrowser
for help on using the repository browser.