Cosmetic changes.
[iolib.git] / io-multiplex / pkgdcl.lisp
blob71b647666e474c912d2e5b409d5ce6c8f7928642
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Indent-tabs-mode: NIL -*-
2 ;;;
3 ;;; package.lisp --- Package definition.
4 ;;;
5 ;;; Copyright (C) 2006-2007, Stelian Ionescu <sionescu@common-lisp.net>
6 ;;;
7 ;;; This code is free software; you can redistribute it and/or
8 ;;; modify it under the terms of the version 2.1 of
9 ;;; the GNU Lesser General Public License as published by
10 ;;; the Free Software Foundation, as clarified by the
11 ;;; preamble found here:
12 ;;; http://opensource.franz.com/preamble.html
13 ;;;
14 ;;; This program is distributed in the hope that it will be useful,
15 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;;; GNU General Public License for more details.
18 ;;;
19 ;;; You should have received a copy of the GNU Lesser General
20 ;;; Public License along with this library; if not, write to the
21 ;;; Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
22 ;;; Boston, MA 02110-1301, USA
24 (in-package :common-lisp-user)
26 (defpackage :io.multiplex
27 (:nicknames #:iomux)
28 (:use #:common-lisp :cffi :alexandria :series)
29 (:export
30 ;; Classes
31 #:event
32 #:event-base
33 #:multiplexer
34 #:select-multiplexer
35 #:poll-multiplexer
36 #+bsd #:kqueue-multiplexer
37 #+linux #:epoll-multiplexer
38 #:fd-event
39 #:priority-queue
41 ;; Event-base Operations
42 #:*available-multiplexers*
43 #:*default-multiplexer*
44 #:*default-event-loop-timeout*
45 #:add-fd
46 #:add-timer
47 #:event-base-empty-p
48 #:event-dispatch
49 #:exit-event-loop
50 #:remove-event
51 #:remove-fd
52 #:with-event-base
54 ;; Operations on FDs
55 #:fd-readablep
56 #:fd-ready-p
57 #:fd-writablep
58 #:poll-error
59 #:poll-error-fd
60 #:poll-error-identifier
61 #:wait-until-fd-ready
62 #:poll-timeout
63 #:poll-timeout-fd
64 #:poll-timeout-event-type
67 (series::install)