version 1.29, 2020/12/04 02:41:10 |
version 1.30, 2021/03/31 22:16:34 |
|
|
u_int64_t f_namemax; |
u_int64_t f_namemax; |
}; |
}; |
|
|
|
/* Used for limits response on the wire from the server */ |
|
struct sftp_limits { |
|
u_int64_t packet_length; |
|
u_int64_t read_length; |
|
u_int64_t write_length; |
|
u_int64_t open_handles; |
|
}; |
|
|
/* |
/* |
* Initialise a SSH filexfer connection. Returns NULL on error or |
* Initialise a SSH filexfer connection. Returns NULL on error or |
* a pointer to a initialized sftp_conn struct on success. |
* a pointer to a initialized sftp_conn struct on success. |
|
|
struct sftp_conn *do_init(int, int, u_int, u_int, u_int64_t); |
struct sftp_conn *do_init(int, int, u_int, u_int, u_int64_t); |
|
|
u_int sftp_proto_version(struct sftp_conn *); |
u_int sftp_proto_version(struct sftp_conn *); |
|
|
|
/* Query server limits */ |
|
int do_limits(struct sftp_conn *, struct sftp_limits *); |
|
|
/* Close file referred to by 'handle' */ |
/* Close file referred to by 'handle' */ |
int do_close(struct sftp_conn *, const u_char *, u_int); |
int do_close(struct sftp_conn *, const u_char *, u_int); |