key-func.h 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. /* Copyright (C) 2013 Artyom V. Poptsov <poptsov.artyom@gmail.com>
  2. *
  3. * This file is part of Guile-SSH
  4. *
  5. * Guile-SSH is free software: you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License as
  7. * published by the Free Software Foundation, either version 3 of the
  8. * License, or (at your option) any later version.
  9. *
  10. * Guile-SSH is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with Guile-SSH. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #ifndef __KEY_FUNC_H__
  19. #define __KEY_FUNC_H__
  20. /* Guile SSH API */
  21. extern SCM guile_ssh_string_to_public_key (SCM arg1, SCM arg2);
  22. extern SCM guile_ssh_public_key_to_string (SCM arg1);
  23. extern SCM guile_ssh_private_key_from_file (SCM arg1, SCM arg2);
  24. extern SCM guile_ssh_public_key_from_file (SCM arg1, SCM arg2);
  25. extern void init_key_func (void);
  26. #endif /* ifndef __KEY_FUNC_H__ */