blob: 4be4cb61a44afe702dd55efa23445a5eadce1ed8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef OPTIONS_H
#define OPTIONS_H OPTIONS_H
typedef struct {
int benchmark;
const char *filter;
const char *init_search;
const char *tty_filename;
int show_scores;
unsigned int num_lines;
unsigned int scrolloff;
const char *prompt;
unsigned int workers;
char input_delimiter;
int show_info;
} options_t;
void options_init(options_t *options);
void options_parse(options_t *options, int argc, char *argv[]);
#endif
|