aboutsummaryrefslogtreecommitdiffstats
path: root/Lisp/moxie/compat/compat-clisp.lisp
blob: 160d1930f4db200f35596be4985ddc5a37ec347c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
;;; -*- Lisp -*-
;; $Id: compat-clisp.lisp 40 2006-01-02 03:35:07Z bjc $
(in-package :moxie)

(defun make-result-stream ()
  (ext:make-stream 3 :direction :output))

(defun coerce-inet-address-designator (host)
  "Coerce HOST into an addess vector.")

(defun open-connection (host port &key (buffering :full))
  "Opens a connection to HOST:PORT, returning a STREAM if successful, NIL otherwise.")

(defun close-connection (stream)
  "Closes STREAM.")

(defun add-input-handler (stream handler)
  "Adds HANDLER to the input handler list on SOCKET.")

(defun remove-input-handler (handler))

(defun save-lisp-and-die (path)
  (ext:saveinitmem path)
  (ext:quit))