ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 9153e53 was
481ee28,
checked in by Thierry Delisle <tdelisle@…>, 4 years ago
|
Removed experiment type, server just supports both urls.
Logging is now optional.
Added done flag so spurious invalid accepts are caught.
|
-
Property mode set to
100644
|
File size:
499 bytes
|
Line | |
---|
1 | #pragma once |
---|
2 | |
---|
3 | #include <stdint.h> |
---|
4 | |
---|
5 | #include <kernel.hfa> |
---|
6 | |
---|
7 | struct cluster; |
---|
8 | |
---|
9 | struct Options { |
---|
10 | bool log; |
---|
11 | |
---|
12 | struct { |
---|
13 | int open_flags; |
---|
14 | uint32_t hash_seed; |
---|
15 | size_t size; |
---|
16 | bool list; |
---|
17 | bool fixed_fds; |
---|
18 | } file_cache; |
---|
19 | |
---|
20 | struct { |
---|
21 | int port; |
---|
22 | int backlog; |
---|
23 | int buflen; |
---|
24 | } socket; |
---|
25 | |
---|
26 | struct { |
---|
27 | int nprocs; |
---|
28 | int nworkers; |
---|
29 | io_context_params params; |
---|
30 | bool procstats; |
---|
31 | bool viewhalts; |
---|
32 | cluster * instance; |
---|
33 | } clopts; |
---|
34 | }; |
---|
35 | |
---|
36 | extern Options options; |
---|
37 | |
---|
38 | const char * parse_options( int argc, char * argv[] ); |
---|
Note: See
TracBrowser
for help on using the repository browser.