Modify tests to support ECL.
[cl-zmq.git] / package.lisp
blobcb4c9cd2cb700d98f656bfd0e5cb8da5a443783d
1 ;; Copyright (c) 2009, 2010 Vitaly Mayatskikh <v.mayatskih@gmail.com>
2 ;;
3 ;; This file is part of CL-ZMQ.
4 ;;
5 ;; Vitaly Mayatskikh grants you the rights to distribute
6 ;; and use this software as governed by the terms
7 ;; of the Lisp Lesser GNU Public License
8 ;; (http://opensource.franz.com/preamble.html),
9 ;; known as the LLGPL.
11 (defpackage #:zeromq
12 (:nicknames :zmq)
13 (:use :cl :cffi)
14 (:shadow #:close #:identity)
15 (:export
16 ;; constants
17 #:affinity
18 #:delimiter
19 #:downstream
20 #:efsm
21 #:emthread
22 #:enocompatproto
23 #:forwarder
24 #:hausnumero
25 #:hwm
26 #:identity
27 #:max-vsm-size
28 #:mcast-loop
29 #:msg-shared
30 #:msg-tbc
31 #:noblock
32 #:p2p
33 #:poll
34 #:pollerr
35 #:pollin
36 #:pollout
37 #:pub
38 #:queue
39 #:rate
40 #:raw
41 #:rcvmore
42 #:recovery-ivl
43 #:rep
44 #:req
45 #:sndmore
46 #:streamer
47 #:sub
48 #:subscribe
49 #:swap
50 #:unsubscribe
51 #:upstream
52 #:vsm
53 #:xrep
54 #:xreq
56 #:events
58 ;; structures
59 #:msg
60 #:pollitem
62 ;; functions
63 #:bind
64 #:close
65 #:connect
66 #:device
67 #:errno
68 #:getsockopt
69 #:init
70 #:msg-close
71 #:msg-copy
72 #:msg-data-as-array
73 #:msg-data-as-is
74 #:msg-data-as-string
75 #:msg-init
76 #:msg-init-data
77 #:msg-init-size
78 #:msg-move
79 #:msg-raw
80 #:msg-size
81 #:msg-type
82 #:pollitem-events
83 #:pollitem-fd
84 #:pollitem-raw
85 #:pollitem-revents
86 #:pollitem-socket
87 #:recv
88 #:send
89 #:setsockopt
90 #:socket
91 #:strerror
92 #:term
93 #:version
95 ;; macros
96 #:with-context
97 #:with-polls
98 #:with-socket
100 ;; conditions
101 #:error-again))
103 (in-package :zeromq)
105 (eval-when (:compile-toplevel :load-toplevel :execute)
106 (define-foreign-library zeromq
107 (:unix (:or "libzmq.so.0.0.0" "libzmq.so"))
108 (:windows "libzmq.dll")
109 (t "libzmq")))
111 (use-foreign-library zeromq)