systemSetup

system setup, configuration and dotfiles
git clone https://noulin.net/git/systemSetup.git
Log | Files | Refs | README | LICENSE

options.h (430B)


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