changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / lisp/ffi/ssh2/pkg.lisp

changeset 698: 96958d3eb5b0
parent: 6fa723592550
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 04 Oct 2024 22:04:59 -0400
permissions: -rw-r--r--
description: fixes
1 ;;; pkg.lisp --- low-level bindings to libssh2
2 
3 ;;; Commentary:
4 
5 ;;; Code:
6 (defpackage :ssh2
7  (:use :cl :std :sb-alien)
8  (:export
9  :libssh2-init :libssh2-exit :libssh2-free))
10 
11 (in-package :ssh2)
12 
13 (define-alien-loader "ssh2" t "/usr/lib/")
14 
15 (define-alien-routine libssh2-init int (flags int))
16 
17 (define-alien-routine libssh2-exit void)
18 
19 ;; TODO
20 (define-alien-routine libssh2-free void (session (* t)) (ptr (* t)))