Moved GRAY-STREAM implementation to the new IO.STREAMS package.
[iolib.git] / io-multiplex / defpackage.lisp
blob39119b054d785fa676dd72eb618ceeb0655af5d0
1 ;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp -*-
3 ;; Copyright (C) 2006, 2007 Stelian Ionescu
4 ;;
5 ;; This code is free software; you can redistribute it and/or
6 ;; modify it under the terms of the version 2.1 of
7 ;; the GNU Lesser General Public License as published by
8 ;; the Free Software Foundation, as clarified by the
9 ;; preamble found here:
10 ;; http://opensource.franz.com/preamble.html
12 ;; This program is distributed in the hope that it will be useful,
13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;; GNU General Public License for more details.
17 ;; You should have received a copy of the GNU Lesser General
18 ;; Public License along with this library; if not, write to the
19 ;; Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
20 ;; Boston, MA 02110-1301, USA
22 (in-package :common-lisp-user)
24 (defpackage :io.multiplex
25 (:nicknames #:iomux)
26 (:use #:common-lisp #:cffi #:iolib-utils)
27 (:export
28 ;; classes
29 #:event-base #:event
30 #:multiplexer
31 #:select-multiplexer
32 #+linux #:epoll-multiplexer
33 #+freebsd #:kqueue-multiplexer
35 #:add-fd #:add-timeout
36 #:remove-event #:event-dispatch
38 #:wait-until-fd-ready #:fd-ready-p))