| Commit message (Expand) | Author | Age | Files | Lines |
| * | libguile-ssh: Adjust port code to Guile 2.2.•••This ports Guile-SSH to the port API found in Guile 2.2.
* libguile-ssh/common.h (USING_GUILE_BEFORE_2_2): New macro.
* libguile-ssh/channel-type.c (channel_tag) [!USING_GUILE_BEFORE_2_2]:
New definition.
(read_from_channel_port, write_to_channel_port): New functions.
(ptob_close): Add #if USING_GUILE_BEFORE_2_2.
(guile_ssh_is_channel_p): Likewise.
(equalp_channel): Condition on USING_GUILE_BEFORE_2_2.
(_scm_from_channel_data): Add #if USING_GUILE_BEFORE_2_2.
(_scm_to_channel_data): Likewise.
(init_channel_type): Likewise.
* libguile-ssh/sftp-file-type.c (sftp_file_tag) [!USING_GUILE_BEFORE_2_2]:
New defintion.
(read_from_sftp_file_port, write_to_sftp_file_port): New functions.
(equalp_sftp_file): Condition on USING_GUILE_BEFORE_2_2.
(print_sftp_file): Use 'scm_port_filename' instead of 'SCM_FILENAME'.
(ptob_flush): Condition on USING_GUILE_BEFORE_2_2.
(ptob_close, ptob_seek): Add #if USING_GUILE_BEFORE_2_2.
(gssh_sftp_file_p): Likewise.
(_scm_to_sftp_file_data, _scm_from_sftp_file): Likewise.
(init_sftp_file_type): Likewise.
* configure.ac: Request "2.2" before "2.0" in 'GUILE_PKG'.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2017-04-23 | 1 | -0/+5 |
| * | libguile-ssh/common.h: 'const'-qualify pointers to 'symbol_mapping'.•••* libguile-ssh/common.h (_ssh_const_to_scm): Const-qualify 'types'
parameter.
(_scm_to_ssh_const): Likewise, and const-qualify return type.
* libguile-ssh/common.c (_ssh_const_to_scm):
(_scm_to_ssh_const): Adjust accordingly.
* libguile-ssh/key-func.c (guile_ssh_string_to_public_key): Adjust
accordingly.
* libguile-ssh/key-type.c (_scm_to_ssh_key_type,
guile_ssh_make_keypair): Likewise.
* libguile-ssh/key-type.h (_scm_to_ssh_key_type): Likewise.
* libguile-ssh/log.c (guile_ssh_write_log)
(guile_ssh_set_log_verbosity_x): Likewise.
* libguile-ssh/session-func.c (set_sym_opt): Likewise.
(guile_ssh_session_set, guile_ssh_session_get): Likewise.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2016-11-04 | 1 | -3/+3 |
| * | Bugfix: Use regular procedures instead of non-static inlines•••There are ill-defined non-static inlines that lead to linkage errors; it
appears that these inlines are the root cause for errors that can be seen on
Arch GNU/Linux. Replace them with regular procedures.
Reported by: SaffronSnail in <https://github.com/artyom-poptsov/guile-ssh/issues/1>
* libguile-ssh/common.c, libguile-ssh/common.h, libguile-ssh/error.c,
libguile-ssh/error.h, libguile-ssh/key-func.h, libguile-ssh/key-type.c,
libguile-ssh/key-type.h: Bugfix: Remove all non-static inlines; use regular
procedures instead.
| Artyom V. Poptsov | 2016-02-08 | 1 | -1/+1 |
| * | libguile-ssh/common.h (SCM_GSSH_DEFINE): New macro•••* libguile-ssh/common.h (SCM_GSSH_DEFINE): New macro.
* libguile-ssh/sftp-session-func.c, libguile-ssh/sftp-file-type.c,
libguile-ssh/sftp-session-type.c: Use it.
| Artyom V. Poptsov | 2015-10-27 | 1 | -0/+7 |
| * | ssh: Rename to 'libguile-ssh'•••* ssh: Rename to 'libguile-ssh'.
* Makefile.am, configure.ac, modules/ssh/Makefile.am, tests/Makefile.am:
Update.
| Artyom V. Poptsov | 2015-07-25 | 1 | -0/+40 |