diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2014-10-11 07:33:52 +0400 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2014-10-11 07:33:52 +0400 |
| commit | 6ca2a1230251eef0d846caeffd35e578f032c63e (patch) | |
| tree | 7ce5f5ab64923413b813b9af9a0b05578147399b | |
| parent | ssh/key.scm (make-keypair): New procedure (diff) | |
| download | guile-ssh-6ca2a1230251eef0d846caeffd35e578f032c63e.tar.gz | |
ssh/key.scm, ssh/log.scm: Update commentary
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | ssh/key.scm | 7 | ||||
| -rw-r--r-- | ssh/log.scm | 19 |
3 files changed, 27 insertions, 2 deletions
@@ -1,9 +1,12 @@ 2014-10-11 Artyom Poptsov <poptsov.artyom@gmail.com> + * ssh/key.scm, ssh/log.scm: Update commentary. + * ssh/key-type.c (_scm_from_ssh_key, guile_ssh_make_keypair): New procedures. * ssh/key-type.h: Update. * ssh/key.scm (make-keypair): Export. + * doc/api-keys.texi (Keys): Add description of `make-keypair'. * tests/key.scm ("make-keypair"): New TC. * NEWS: Update. diff --git a/ssh/key.scm b/ssh/key.scm index 0b02518..a90a950 100644 --- a/ssh/key.scm +++ b/ssh/key.scm @@ -1,6 +1,6 @@ ;;; key.scm -- SSH keys management. -;; Copyright (C) 2013 Artyom V. Poptsov <poptsov.artyom@gmail.com> +;; Copyright (C) 2013, 2014 Artyom V. Poptsov <poptsov.artyom@gmail.com> ;; ;; This file is a part of Guile-SSH. ;; @@ -24,15 +24,18 @@ ;; ;; These methods are exported: ;; -;; key ;; key? ;; public-key? ;; private-key? +;; make-keypair ;; get-key-type ;; public-key->string +;; string->pubilc-key ;; public-key-from-file ;; private-key->public-key ;; private-key-from-file +;; get-public-key-hash +;; bytevector->hex-string ;;; Code: diff --git a/ssh/log.scm b/ssh/log.scm index 8a28382..d0aa018 100644 --- a/ssh/log.scm +++ b/ssh/log.scm @@ -17,6 +17,25 @@ ;; You should have received a copy of the GNU General Public License ;; along with Guile-SSH. If not, see <http://www.gnu.org/licenses/>. + +;;; Commentary: + +;; This module provides access to libssh logging facilities. These methods +;; are exported: +;; +;; %default-log-printer +;; %default-libssh-log-printer +;; current-logging-callback +;; set-logging-callback! +;; set-log-userdata! +;; get-log-userdata +;; set-log-verbosity! +;; get-log-verbosity +;; format-log + + +;;; Code: + (define-module (ssh log) #:export (%default-log-printer %default-libssh-log-printer |
