Add clamp-timeout to base package.
[iolib/alendvai.git] / io.multiplex / pkgdcl.lisp
blobd18bb4b3e33cb505e042f7eaae6e52af4a53e634
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 :series)
11 (:import-from #:osicat-posix #:defsyscall #:bzero
12 #:file-descriptor-designator
13 #:timeval #:sec #:usec)
14 (:shadowing-import-from :series #:let #:let* #:multiple-value-bind
15 #:funcall #:until #:collect)
16 (:export
17 ;; Classes
18 #:event
19 #:event-base
20 #:multiplexer
21 #:select-multiplexer
22 #:poll-multiplexer
23 #+bsd #:kqueue-multiplexer
24 #+linux #:epoll-multiplexer
25 #:fd-event
26 #:priority-queue
28 ;; Event-base Operations
29 #:*available-multiplexers*
30 #:*default-multiplexer*
31 #:*default-event-loop-timeout*
32 #:add-fd
33 #:add-timer
34 #:event-base-empty-p
35 #:event-dispatch
36 #:exit-event-loop
37 #:remove-event
38 #:remove-fd
39 #:with-event-base
41 ;; Operations on FDs
42 #:fd-readablep
43 #:fd-ready-p
44 #:fd-writablep
45 #:poll-error
46 #:poll-error-fd
47 #:poll-error-identifier
48 #:wait-until-fd-ready
49 #:poll-timeout
50 #:poll-timeout-fd
51 #:poll-timeout-event-type