-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.lisp
110 lines (105 loc) · 1.8 KB
/
package.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
(defpackage #:pzmq
(:documentation "ZeroMQ 3.2+ bindings.
Consult @a[http://api.zeromq.org/4-0:zmq]{official C API reference} first.
@begin[Top-level API]{section}
@aboutfun{with-socket}
@aboutfun{with-sockets}
@aboutfun{bind}
@aboutfun{connect}
@aboutfun{recv-string}
@aboutfun{recv-octets}
@aboutfun{send}
@aboutfun{with-poll-items}
@aboutfun{poll}
@aboutfun{revents}
@aboutfun{curve-keypair}
@end{section}
@begin[Middle-level API]{section}
@aboutfun{with-context}
@aboutfun{with-message}
@end{section}
@begin[Low-level API]{section}
@aboutfun{ctx-new}
@aboutfun{ctx-set}
@aboutfun{ctx-get}
@aboutfun{ctx-destroy}
@aboutfun{error}
@aboutfun{strerror}
@aboutfun{version}
@end{section}
@section[Other]{}")
(:use #:cl #:cffi)
(:shadow #:close)
(:export
;; C API:
;; - misc
#:version
;; - error
#:errno
#:strerror
#:c-error
#:libzmq-error
#:eaddrinuse
#:eaddrnotavail
#:eagain
#:efault
#:efsm
#:ehostunreach
#:eintr
#:einval
#:emfile
#:emthread
#:enocompatproto
#:enodev
#:enoent
#:enomem
#:enotsock
#:enotsup
#:eprotonosupport
#:eterm
;; - context
#:ctx-new
#:ctx-set
#:ctx-get
#:ctx-shutdown
#:ctx-destroy #:ctx-term
;; - message
#:%msg
#:msg-init
#:msg-init-size
#:msg-init-data
#:msg-send
#:msg-recv
#:msg-close
#:msg-data
#:msg-size
#:msg-more
#:msg-get
#:msg-set
#:msg-copy
#:msg-move
;; - socket
#:socket
#:close
#:getsockopt
#:setsockopt
#:bind
#:connect
#:send
#:poll
;; - device
#:device
#:proxy
;; Lisp API:
#:with-message
#:with-messages
#:*default-context*
#:*restart-interrupted-calls*
#:recv-string
#:recv-octets
#:with-context
#:with-socket
#:with-sockets
#:with-poll-items
#:revents
#:curve-keypair))