mirror of
https://github.com/upa/mscp.git
synced 2026-02-14 17:24:42 +08:00
start to impliment mscp as a library
this commit starts to refactor file.h|c to path.h|c and add mscp.c|h. not completed yet.
This commit is contained in:
@@ -25,7 +25,7 @@ struct ssh_opts {
|
||||
/* ssh_init_sftp_session() creates sftp_session. sshdst accpets
|
||||
* user@hostname and hostname notations (by libssh).
|
||||
*/
|
||||
sftp_session ssh_init_sftp_session(char *sshdst, struct ssh_opts *opts);
|
||||
sftp_session ssh_init_sftp_session(const char *sshdst, struct ssh_opts *opts);
|
||||
void ssh_sftp_close(sftp_session sftp);
|
||||
|
||||
#define sftp_ssh(sftp) (sftp)->session
|
||||
|
||||
Reference in New Issue
Block a user