A simple program to make the original shadowsocks support SIP003 plugins.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef _COMMON_H_
|
|
|
|
#define _COMMON_H_
|
|
|
|
|
|
|
|
#define VERSION "0.9.2"
|
|
|
|
|
|
|
|
#define RANDOM_PORT_START 41952
|
|
|
|
#define RANDOM_PORT_END 65535
|
|
|
|
|
|
|
|
void init(int argc, char **argv, char *help_msg);
|
|
|
|
|
|
|
|
char* new_string(char *str);
|
|
|
|
char* int_to_string(int num);
|
|
|
|
char* read_file(char *file_name);
|
|
|
|
char* string_list_join(char **string_list);
|
|
|
|
char** string_list_append(char **string_list, char *data);
|
|
|
|
|
|
|
|
#endif
|