mirror of
https://github.com/liudf0716/apfree_wifidog.git
synced 2025-01-09 04:19:10 +08:00
Update ssh_client.h
This commit is contained in:
parent
798d09ff13
commit
c7a9bccaf8
@ -28,7 +28,7 @@
|
||||
#define DEFAULT_SSH_PORT 22
|
||||
#define CHANNEL_READ_TIMTOUT 3000
|
||||
|
||||
struct {
|
||||
struct libssh_client {
|
||||
int m_sock;
|
||||
char srv_ip[IPV4_LENGTH];
|
||||
short srv_port;
|
||||
@ -38,7 +38,7 @@ struct {
|
||||
char *password;
|
||||
LIBSSH2_SESSION *m_session;
|
||||
LIBSSH2_CHANNEL *m_channel;
|
||||
} libssh_client;
|
||||
};
|
||||
|
||||
struct libssh_client *new_libssh_client(char *srv_ip, short srv_port, char ch_end, char *username, char *password);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user