Added Twrch support.

This commit is contained in:
Thomas Pornin 2017-07-30 23:11:26 +02:00
parent ce1c57909a
commit 93681c2830
7 changed files with 1100 additions and 11 deletions

View file

@ -485,7 +485,8 @@ const char *get_algo_name(const void *algo, int long_name);
/*
* Run a SSL engine, with a socket connected to the peer, and using
* stdin/stdout to exchange application data.
* stdin/stdout to exchange application data. The socket must be a
* non-blocking descriptor.
*
* To help with Win32 compatibility, the socket descriptor is provided
* as an "unsigned long" value.
@ -538,4 +539,11 @@ int do_ta(int argc, char *argv[]);
*/
int do_chain(int argc, char *argv[]);
/*
* Do the "twrch" command. Returned value is 0 on success, -1 on failure
* (processing or arguments), or a non-zero exit code. Command-line
* arguments start _after_ the command name.
*/
int do_twrch(int argc, char *argv[]);
#endif