静态公共成员函数
|
static
MAXON_METHOD
LIBSSH2_SESSION
*
|
libssh2_session_init
()
|
static
MAXON_METHOD
int
|
libssh2_session_disconnect_ex
(
LIBSSH2_SESSION
*session, int reason, const char *description, const char *lang)
|
static
MAXON_METHOD
int
|
libssh2_session_free
(
LIBSSH2_SESSION
*session)
|
static
MAXON_METHOD
void
|
libssh2_session_set_blocking
(
LIBSSH2_SESSION
*session, int blocking)
|
static
MAXON_METHOD
int
|
libssh2_session_handshake
(
LIBSSH2_SESSION
*session,
Int
socket)
|
static const
MAXON_METHOD
char *
|
libssh2_hostkey_hash
(
LIBSSH2_SESSION
*session, int hash_type)
|
static const
MAXON_METHOD
char *
|
libssh2_userauth_list
(
LIBSSH2_SESSION
*session, const char *username, unsigned int username_len)
|
static
MAXON_METHOD
int
|
libssh2_userauth_password_ex
(
LIBSSH2_SESSION
*session, const char *username, unsigned int username_len, const char *password, unsigned int password_len,
LIBSSH2_PASSWD_CHANGEREQ_FUNC
passwd_change_cb)
|
static
MAXON_METHOD
int
|
libssh2_session_last_error
(
LIBSSH2_SESSION
*session, char **errmsg, int *errmsg_len, int want_buf)
|
static
MAXON_METHOD
LIBSSH2_SFTP
*
|
libssh2_sftp_init
(
LIBSSH2_SESSION
*session)
|
static
MAXON_METHOD
int
|
libssh2_sftp_shutdown
(
LIBSSH2_SFTP
*sftp)
|
static
MAXON_METHOD
LIBSSH2_SFTP_HANDLE
*
|
libssh2_sftp_open_ex
(
LIBSSH2_SFTP
*sftp, const char *filename, unsigned int filename_len, unsigned long flags, long mode, int open_type)
|
static int
|
libssh2_sftp_close
(
LIBSSH2_SFTP_HANDLE
*handle)
|
static int
|
libssh2_sftp_closedir
(
LIBSSH2_SFTP_HANDLE
*handle)
|
static
MAXON_METHOD
int
|
libssh2_sftp_close_handle
(
LIBSSH2_SFTP_HANDLE
*handle)
|
static
MAXON_METHOD
int
|
libssh2_sftp_unlink_ex
(
LIBSSH2_SFTP
*sftp, const char *filename, unsigned int filename_len)
|
static
MAXON_METHOD
int
|
libssh2_sftp_mkdir_ex
(
LIBSSH2_SFTP
*sftp, const char *path, unsigned int path_len, long mode)
|
static
MAXON_METHOD
int
|
libssh2_sftp_rmdir_ex
(
LIBSSH2_SFTP
*sftp, const char *path, unsigned int path_len)
|
static
MAXON_METHOD
int
|
libssh2_sftp_fstat_ex
(
LIBSSH2_SFTP_HANDLE
*handle,
LIBSSH2_SFTP_ATTRIBUTES
*attrs, bool setstat)
|
static
MAXON_METHOD
int
|
libssh2_sftp_stat_ex
(
LIBSSH2_SFTP
*sftp, const char *path, unsigned int path_len, int stat_type,
LIBSSH2_SFTP_ATTRIBUTES
*attrs)
|
static
MAXON_METHOD
Int
|
libssh2_sftp_read
(
LIBSSH2_SFTP_HANDLE
*handle, char *buffer, size_t buffer_maxlen)
|
static
MAXON_METHOD
Int
|
libssh2_sftp_write
(
LIBSSH2_SFTP_HANDLE
*handle, const char *buffer, size_t count)
|
static
MAXON_METHOD
int
|
libssh2_sftp_readdir_ex
(
LIBSSH2_SFTP_HANDLE
*handle, char *buffer, size_t buffer_maxlen, char *longentry, size_t longentry_maxlen,
LIBSSH2_SFTP_ATTRIBUTES
*attrs)
|
static
MAXON_METHOD
void
|
libssh2_sftp_seek64
(
LIBSSH2_SFTP_HANDLE
*handle,
UInt64
offset)
|