bproxy/include/args.h

28 lines
404 B
C

#ifndef ARGS_H
#define ARGS_H
#include <stdbool.h>
#define MAX_USERS 500
struct users {
char * name;
char * pass;
};
struct socks5args {
char * socks_addr;
unsigned short socks_port;
char * mng_addr;
unsigned short mng_port;
bool disectors_enabled;
struct users users[MAX_USERS];
};
void parse_args(const int argc, char ** argv, struct socks5args * args);
#endif