Add support for a simple telnet expect set of APIs

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2019-06-09 18:06:47 +02:00
1 parent b2c2d032e8
commit 83047d4413
4 files changed
+308 -2

No files matched your search

+9
View File
@@ -289,6 +289,15 @@ Generic Functions
Find matching string in an array of strings. Returns index in array
on match, or `-1` on error or not found.
- `telnet_open(), telnet_close(), telnet_expect()`
Poor mans telnet expect in C. Opens connection to a Telnet service;
FTP, Telnet, similar, and run an expect-like script.
- `telnet_session()`
Wrapper for the above three in one API.
- `tempfile()`
Secure replacement for `tmpfile()`. Creates an invisible temporary