Go to the source code of this file.
|
| typedef struct ARC_Ssh | ARC_Ssh |
| | ssh type that holds ssh connection along with credentials
|
| |
| typedef void(* | ARC_Ssh_SessionFn) (void *data) |
| | a ssh session function
|
| |
◆ ARC_Ssh
ssh type that holds ssh connection along with credentials
Definition at line 13 of file ssh.h.
◆ ARC_Ssh_SessionFn
| typedef void(* ARC_Ssh_SessionFn) (void *data) |
a ssh session function
- Parameters
-
| data | user data that can be used within the callback |
Definition at line 20 of file ssh.h.
◆ ARC_Ssh_Create()
| void ARC_Ssh_Create |
( |
ARC_Ssh ** | ssh, |
|
|
char * | host, |
|
|
char * | user, |
|
|
char * | password ) |
creates ARC_Ssh type
- Parameters
-
◆ ARC_Ssh_Destroy()
| void ARC_Ssh_Destroy |
( |
ARC_Ssh * | ssh | ) |
|
destroyes ARC_Ssh type
- Parameters
-
◆ ARC_Ssh_ExecStrInNewSession()
| void ARC_Ssh_ExecStrInNewSession |
( |
ARC_Ssh * | ssh, |
|
|
char * | command ) |
◆ ARC_Ssh_ExecStrInNewSessionAndGetResponse()
| ARC_String * ARC_Ssh_ExecStrInNewSessionAndGetResponse |
( |
ARC_Ssh * | ssh, |
|
|
char * | command ) |
◆ ARC_Ssh_RunInSession()
runs a callback function within a ssh session
- Parameters
-
| ssh | ARC_Ssh to create and run function in ssh session |
| sessionFN | callback to run in a ssh session |