Add condition SUBTYPE-ERROR to base package.
[iolib.git] / io.multiplex / pkgdcl.lisp
blob76e5c716681e2e046b3e8945e34f03fda14f2124
1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*-
2 ;;;
3 ;;; --- Package definition.
4 ;;;
6 (in-package :common-lisp-user)
8 (defpackage :io.multiplex
9 (:nicknames #:iomux)
10 (:use :iolib.base :cffi)
11 (:import-from #:osicat-posix #:defsyscall #:bzero
12 #:file-descriptor-designator
13 #:timeval #:sec #:usec)
14 (:export
15 ;; Classes
16 #:event-base
17 #:multiplexer
18 #:select-multiplexer
19 #:poll-multiplexer
20 #+bsd #:kqueue-multiplexer
21 #+linux #:epoll-multiplexer
23 ;; Event-base Operations
24 #:*available-multiplexers*
25 #:*default-multiplexer*
26 #:*default-event-loop-timeout*
27 #:add-timer
28 #:event-base-empty-p
29 #:event-dispatch
30 #:exit-event-loop
31 #:remove-timer
32 #:remove-fd-handlers
33 #:set-error-handler
34 #:set-io-handler
35 #:with-event-base
37 ;; Operations on FDs
38 #:fd-readablep
39 #:fd-ready-p
40 #:fd-writablep
41 #:poll-error
42 #:poll-error-fd
43 #:poll-error-identifier
44 #:wait-until-fd-ready
45 #:poll-timeout
46 #:poll-timeout-fd
47 #:poll-timeout-event-type