diff options
| author | Artyom Poptsov <poptsov.artyom@gmail.com> | 2014-01-02 23:14:41 +0400 |
|---|---|---|
| committer | Artyom Poptsov <poptsov.artyom@gmail.com> | 2014-01-02 23:14:41 +0400 |
| commit | e0171febf8cb240a8defdabeeed51dcd6ac2eefe (patch) | |
| tree | 8df32d2d3ec00d57d1fb9ea3f8ae2470b2b0105f /examples/Makefile.am | |
| parent | configure.ac, NEWS: Bump version to 0.4.0 (diff) | |
| download | guile-ssh-e0171febf8cb240a8defdabeeed51dcd6ac2eefe.tar.gz | |
Use Guile port API to implement Guile-SSH channels.
* src/channel-func.c (guile_ssh_channel_read)
(guile_ssh_channel_write): Remove.
* src/channel-func.h (guile_ssh_channel_read): Remove.
* src/channel-type.c (ptob_fill_input, ptob_write, ptob_flush)
(ptob_input_waiting, _ssh_channel_to_scm): New procedures.
(guile_ssh_make_channel): Use `_ssh_channel_to_scm'.
(_scm_to_ssh_channel): Use `SCM_STREAM' macro.
(init_channel_type): Register Guile port callbacks.
* src/channel-type.h (_ssh_channel_to_scm): Export.
* src/channel.scm (channel-read, channel-write): Remove.
* src/message-func.c
(guile_ssh_message_channel_request_open_reply_accept): Use
`_ssh_channel_to_scm'.
* examples/echo: Add to the repository.
* examples/Makefile.am: Add echo server/client example.
* examples/README: Update.
* examples/sssh.scm: Update.
* README: Update.
Diffstat (limited to 'examples/Makefile.am')
| -rw-r--r-- | examples/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am index 2679423..77bbcde 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,4 +1,4 @@ -## Copyright (C) 2013 Artyom V. Poptsov <poptsov.artyom@gmail.com> +## Copyright (C) 2013, 2014 Artyom V. Poptsov <poptsov.artyom@gmail.com> ## ## This file is part of libguile-ssh. ## @@ -17,4 +17,6 @@ ## <http://www.gnu.org/licenses/>. examplesdir = $(pkgdatadir)/examples +examples_echodir = $(pkgdatadir)/examples/echo dist_examples_DATA = README sssh.scm ssshd.scm +dist_examples_echo_DATA = echo/*.scm |
