From 1be9b70808ca235cd784d66efa92ecd2ce8c4e86 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Sat, 25 Feb 2023 22:17:29 +0900 Subject: 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. --- src/ssh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ssh.h') diff --git a/src/ssh.h b/src/ssh.h index f44f67f..9fdc822 100644 --- a/src/ssh.h +++ b/src/ssh.h @@ -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 -- cgit v1.2.3