comparison runopts.h @ 682:4edea9f363d0

Add rough support for choosing ciphers/hashes with "-c" or "-m"
author Matt Johnston <matt@ucc.asn.au>
date Thu, 17 May 2012 00:12:42 +0800
parents f9b5dc0cba61
children c58a15983808
comparison
equal deleted inserted replaced
678:6e0899b56ac4 682:4edea9f363d0
45 * is compiled in, but disabled for a client's non-final multihop stages. (The 45 * is compiled in, but disabled for a client's non-final multihop stages. (The
46 * intermediate stages are compressed streams, so are uncompressible. */ 46 * intermediate stages are compressed streams, so are uncompressible. */
47 int enable_compress; 47 int enable_compress;
48 #endif 48 #endif
49 49
50 #ifdef ENABLE_USER_ALGO_LIST
51 char *cipher_list;
52 char *mac_list;
53 #endif
50 54
51 } runopts; 55 } runopts;
52 56
53 extern runopts opts; 57 extern runopts opts;
54 58
146 } cli_runopts; 150 } cli_runopts;
147 151
148 extern cli_runopts cli_opts; 152 extern cli_runopts cli_opts;
149 void cli_getopts(int argc, char ** argv); 153 void cli_getopts(int argc, char ** argv);
150 154
155 #ifdef ENABLE_USER_ALGO_LIST
156 void parse_ciphers_macs();
157 #endif
158
151 #endif /* _RUNOPTS_H_ */ 159 #endif /* _RUNOPTS_H_ */