Browse Source

update README

Max Lv 11 years ago
parent
commit
9053562811
4 changed files with 372 additions and 331 deletions
  1. 6
      README.md
  2. 5
      config.h.in
  3. 686
      configure
  4. 6
      src/utils.c

6
README.md

@ -87,8 +87,10 @@ encrypt_method: table, rc4,
pid_file: valid path to the pid file pid_file: valid path to the pid file
timeout: socket timeout in senconds timeout: socket timeout in senconds
config_file: json format config file config_file: json format config file
interface: specific network interface to bind
local_address: specific address clients listen on
interface: specific network interface to bind,
only avaliable in local and server modes
local_address: specific local address to bind,
only avaliable in local and redir modes
notes: notes:

5
config.h.in

@ -257,6 +257,11 @@
# endif # endif
#endif #endif
/* Enable large inode numbers on Mac OS X 10.5. */
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif
/* Number of bits in a file offset, on hosts where this is settable. */ /* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS #undef _FILE_OFFSET_BITS

686
configure
File diff suppressed because it is too large
View File

6
src/utils.c

@ -81,8 +81,10 @@ void usage() {
printf(" pid_file: valid path to the pid file\n"); printf(" pid_file: valid path to the pid file\n");
printf(" timeout: socket timeout in senconds\n"); printf(" timeout: socket timeout in senconds\n");
printf(" config_file: json format config file\n"); printf(" config_file: json format config file\n");
printf(" interface: specific network interface to bind\n");
printf(" local_address: specific address clients listen on\n");
printf(" interface: specific network interface to bind,\n");
printf(" only avaliable in local and server modes\n");
printf(" local_address: specific local address to bind,\n");
printf(" only avaliable in local and redir modes\n");
printf("\n"); printf("\n");
} }

Loading…
Cancel
Save