Move multiplexer foreign bindings to syscalls package.
[iolib.git] / io.multiplex / pkgdcl.lisp
blobad67a0904ef050bb4e005dd52ebe3512c3ac29ea
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 (:export
12 ;; Classes
13 #:event-base
14 #:multiplexer
15 #:select-multiplexer
16 #:poll-multiplexer
17 #+bsd #:kqueue-multiplexer
18 #+linux #:epoll-multiplexer
20 ;; Event-base Operations
21 #:*available-multiplexers*
22 #:*default-multiplexer*
23 #:*default-event-loop-timeout*
24 #:add-timer
25 #:event-base-empty-p
26 #:event-dispatch
27 #:exit-event-loop
28 #:remove-timer
29 #:remove-fd-handlers
30 #:set-error-handler
31 #:set-io-handler
32 #:with-event-base
34 ;; Operations on FDs
35 #:fd-readablep
36 #:fd-ready-p
37 #:fd-writablep
38 #:poll-error
39 #:poll-error-fd
40 #:poll-error-identifier
41 #:wait-until-fd-ready
42 #:poll-timeout
43 #:poll-timeout-fd
44 #:poll-timeout-event-type