Version bump.
[cl-zmq.git] / package.lisp
blobfd06a761230a39bb9ec5aba7ad622f9acba35b2c
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 #:push)
15 (:export
16 ;; constants
17 #:affinity
18 #:delimiter
19 #:downstream
20 #:efsm
21 #:emthread
22 #:enocompatproto
23 #:forwarder
24 #:hwm
25 #:identity
26 #:mcast-loop
27 #:msg-shared
28 #:msg-tbc
29 #:noblock
30 #:pair
31 #:poll
32 #:pollerr
33 #:pollin
34 #:pollout
35 #:pub
36 #:pull
37 #:push
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 #:dealer
54 #:xrep
55 #:router
56 #:xreq
58 #:events
60 ;; structures
61 #:msg
62 #:pollitem
64 ;; functions
65 #:version
67 #:ctx-new
68 #:ctx-destroy
70 #:socket
71 #:close
72 #:bind
73 #:unbind
74 #:connect
75 #:disconnect
76 #:getsockopt
77 #:setsockopt
79 #:msg-data-as-is
80 #:msg-data-as-array
81 #:msg-data-as-string
82 #:msg-close
83 #:msg-init-size
84 #:msg-size
85 #:msg-move
86 #:msg-copy
88 #:send
89 #:recv
90 #:msg-send
91 #:msg-recv
93 #:poll
95 #:proxy
97 ;; macros
98 #:with-context
99 #:with-polls
100 #:with-socket
102 ;; conditions
103 #:zmq-error))
105 (in-package :zeromq)
107 (eval-when (:compile-toplevel :load-toplevel :execute)
108 (define-foreign-library zeromq
109 (:darwin (:or "libzmq.0.dylib" "libzmq.dylib"))
110 (:unix (:or "libzmq.so.0.0.0" "libzmq.so"))
111 (:windows "libzmq.dll")
112 (t "libzmq")))
114 (use-foreign-library zeromq)