Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
library: Add new openconnect_setup_cmd_pipe() call
Most callers will use a simple nonblocking UNIX pipe as their cmd_fd, so provide a convenience function for creating it. Also, libopenconnect will take care of cleaning up pipes created in this manner when the library instance is freed. Pipes created through this function will be able to send new commands, such as "reconnect". Pipes passed in via openconnect_set_cancel_fd() can only be used to cancel the connection, for backward compatibility. Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
- Loading branch information
Showing
4 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters