aboutsummaryrefslogtreecommitdiff
path: root/src/Config.h
blob: 17abd74aff2a7d55926d4c2075c7e27d164e086b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef CONFIG_H
#define CONFIG_H

typedef struct {
  char host[256];
  int port;
  char proxy[256];
  char proxy_list_file[256];
  int max_proxy_retries;
  int randomize_username;
  int randomize_password;
} Config;

int load_config(const char *filename, Config *config);

#endif