Alias deprecated 'upstream' and 'downstream' socket types to 'pull' and 'push'.
[cl-zmq.git] / package.lisp
blobdffba682acd96a33ebdb769db2362bb9f93f523e
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 #:pull
39 #:push
40 #:queue
41 #:rate
42 #:raw
43 #:rcvmore
44 #:recovery-ivl
45 #:rep
46 #:req
47 #:sndmore
48 #:streamer
49 #:sub
50 #:subscribe
51 #:swap
52 #:unsubscribe
53 #:upstream
54 #:vsm
55 #:xrep
56 #:xreq
58 #:events
60 ;; structures
61 #:msg
62 #:pollitem
64 ;; functions
65 #:bind
66 #:close
67 #:connect
68 #:device
69 #:errno
70 #:getsockopt
71 #:init
72 #:msg-close
73 #:msg-copy
74 #:msg-data-as-array
75 #:msg-data-as-is
76 #:msg-data-as-string
77 #:msg-init
78 #:msg-init-data
79 #:msg-init-size
80 #:msg-move
81 #:msg-raw
82 #:msg-size
83 #:msg-type
84 #:pollitem-events
85 #:pollitem-fd
86 #:pollitem-raw
87 #:pollitem-revents
88 #:pollitem-socket
89 #:recv
90 #:send
91 #:setsockopt
92 #:socket
93 #:strerror
94 #:term
95 #:version
97 ;; macros
98 #:with-context
99 #:with-polls
100 #:with-socket
102 ;; conditions
103 #:error-again))
105 (in-package :zeromq)
107 (eval-when (:compile-toplevel :load-toplevel :execute)
108 (define-foreign-library zeromq
109 (:unix (:or "libzmq.so.0.0.0" "libzmq.so"))
110 (:windows "libzmq.dll")
111 (t "libzmq")))
113 (use-foreign-library zeromq)