Update packages.lisp
[hunchentoot.git] / packages.lisp
blob83d527c8c66e89cf0b455ccaa1ddd10137a076b8
1 ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
3 ;;; Copyright (c) 2004-2010, Dr. Edmund Weitz. All rights reserved.
5 ;;; Redistribution and use in source and binary forms, with or without
6 ;;; modification, are permitted provided that the following conditions
7 ;;; are met:
9 ;;; * Redistributions of source code must retain the above copyright
10 ;;; notice, this list of conditions and the following disclaimer.
12 ;;; * Redistributions in binary form must reproduce the above
13 ;;; copyright notice, this list of conditions and the following
14 ;;; disclaimer in the documentation and/or other materials
15 ;;; provided with the distribution.
17 ;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED
18 ;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 ;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 ;;; ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
21 ;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 ;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
23 ;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 ;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25 ;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
26 ;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 ;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 (in-package :cl-user)
31 (defpackage #:hunchentoot
32 (:nicknames #:tbnl)
33 (:use :cl :cl-ppcre :chunga :flexi-streams :url-rewrite)
34 (:shadow #:defconstant
35 #:url-encode)
36 #+:lispworks
37 (:import-from :lw #:with-unique-names #:when-let)
38 (:export #:*acceptor*
39 #:*catch-errors-p*
40 #+:lispworks
41 #:*cleanup-function*
42 #+:lispworks
43 #:*cleanup-interval*
44 #:*content-types-for-url-rewrite*
45 #:*default-connection-timeout*
46 #:*default-content-type*
47 #:*dispatch-table*
48 #:*file-upload-hook*
49 #:*handle-http-errors-p*
50 #:*header-stream*
51 #:*http-error-handler*
52 #:*hunchentoot-default-external-format*
53 #:*hunchentoot-version*
54 #:*lisp-errors-log-level*
55 #:*lisp-warnings-log-level*
56 #:*log-lisp-backtraces-p*
57 #:*log-lisp-errors-p*
58 #:*log-lisp-warnings-p*
59 #:*methods-for-post-parameters*
60 #:*reply*
61 #:*request*
62 #:*rewrite-for-session-urls*
63 #:*session*
64 #:*session-gc-frequency*
65 #:*session-max-time*
66 #:*session-secret*
67 #:*show-lisp-backtraces-p*
68 #:*show-lisp-errors-p*
69 #:*tmp-directory*
70 #:*use-remote-addr-for-sessions*
71 #:*use-user-agent-for-sessions*
72 #:+http-accepted+
73 #:+http-authorization-required+
74 #:+http-bad-gateway+
75 #:+http-bad-request+
76 #:+http-conflict+
77 #:+http-continue+
78 #:+http-created+
79 #:+http-expectation-failed+
80 #:+http-failed-dependency+
81 #:+http-forbidden+
82 #:+http-gateway-time-out+
83 #:+http-gone+
84 #:+http-internal-server-error+
85 #:+http-length-required+
86 #:+http-method-not-allowed+
87 #:+http-moved-permanently+
88 #:+http-moved-temporarily+
89 #:+http-multi-status+
90 #:+http-multiple-choices+
91 #:+http-network-authentication-required+
92 #:+http-no-content+
93 #:+http-non-authoritative-information+
94 #:+http-not-acceptable+
95 #:+http-not-found+
96 #:+http-not-implemented+
97 #:+http-not-modified+
98 #:+http-ok+
99 #:+http-partial-content+
100 #:+http-payment-required+
101 #:+http-precondition-failed+
102 #:+http-precondition-required+
103 #:+http-proxy-authentication-required+
104 #:+http-request-entity-too-large+
105 #:+http-request-header-fields-too-large+
106 #:+http-request-time-out+
107 #:+http-request-uri-too-large+
108 #:+http-requested-range-not-satisfiable+
109 #:+http-reset-content+
110 #:+http-see-other+
111 #:+http-service-unavailable+
112 #:+http-switching-protocols+
113 #:+http-temporary-redirect+
114 #:+http-too-many-requests+
115 #:+http-unsupported-media-type+
116 #:+http-use-proxy+
117 #:+http-version-not-supported+
118 #:abort-request-handler
119 #:accept-connections
120 #:acceptor
121 #:acceptor-access-log-destination
122 #:acceptor-address
123 #:acceptor-listen-backlog
124 #:acceptor-dispatch-request
125 #:acceptor-error-template-directory
126 #:acceptor-input-chunking-p
127 #:acceptor-log-access
128 #:acceptor-log-message
129 #:acceptor-message-log-destination
130 #:acceptor-name
131 #:acceptor-output-chunking-p
132 #:acceptor-persistent-connections-p
133 #:acceptor-port
134 #:acceptor-read-timeout
135 #:acceptor-remove-session
136 #:acceptor-reply-class
137 #:acceptor-request-class
138 #:acceptor-requests-in-progress
139 #:acceptor-ssl-p
140 #-:hunchentoot-no-ssl #:acceptor-ssl-certificate-file
141 #-:hunchentoot-no-ssl #:acceptor-ssl-privatekey-file
142 #-:hunchentoot-no-ssl #:acceptor-ssl-privatekey-password
143 #:acceptor-status-message
144 #:acceptor-write-timeout
145 #:acceptor-document-root
146 #:acceptor-error-template-directory
147 #:authorization
148 #:aux-request-value
149 #:client-as-string
150 #:content-length
151 #:content-length*
152 #:content-type
153 #:content-type*
154 #:cookie-domain
155 #:cookie-expires
156 #:cookie-http-only
157 #:cookie-in
158 #:cookie-max-age
159 #:cookie-name
160 #:cookie-out
161 #:cookie-path
162 #:cookie-secure
163 #:cookie-value
164 #:cookies-in
165 #:cookies-in*
166 #:cookies-out
167 #:cookies-out*
168 #:create-folder-dispatcher-and-handler
169 #:create-prefix-dispatcher
170 #:create-regex-dispatcher
171 #:create-request-handler-thread
172 #:create-static-file-dispatcher-and-handler
173 #:decrement-taskmaster-thread-count
174 #:default-document-directory
175 #:define-easy-handler
176 #:delete-aux-request-value
177 #:delete-session-value
178 #:dispatch-easy-handlers
179 #:easy-acceptor
180 #-:hunchentoot-no-ssl #:easy-ssl-acceptor
181 #:escape-for-html
182 #:execute-acceptor
183 #:get-parameter
184 #:get-parameters
185 #:get-parameters*
186 #:handle-incoming-connection
187 #:handle-if-modified-since
188 #:handle-request
189 #:handle-static-file
190 #:header-in
191 #:header-in*
192 #:header-out
193 #:headers-in
194 #:headers-in*
195 #:headers-out
196 #:headers-out*
197 #:host
198 #:http-token-p
199 #:hunchentoot-condition
200 #:hunchentoot-error
201 #:hunchentoot-warning
202 #:increment-taskmaster-thread-count
203 #:initialize-connection-stream
204 #:log-message*
205 #:maybe-invoke-debugger
206 #:mime-type
207 #:multi-threaded-taskmaster
208 #:next-session-id
209 #:no-cache
210 #:one-thread-per-connection-taskmaster
211 #:parameter
212 #:parameter-error
213 #:post-parameter
214 #:post-parameters
215 #:post-parameters*
216 #:process-connection
217 #:process-request
218 #:query-string
219 #:query-string*
220 #:raw-post-data
221 #:real-remote-addr
222 #:reason-phrase
223 #:recompute-request-parameters
224 #:redirect
225 #:referer
226 #:regenerate-session-cookie-value
227 #:remote-addr
228 #:remote-addr*
229 #:remote-port
230 #:remote-port*
231 #:local-addr
232 #:local-addr*
233 #:local-port
234 #:local-port*
235 #:remove-session
236 #:reply
237 #:reply-external-format
238 #:reply-external-format*
239 #:request
240 #:request-acceptor
241 #:request-method
242 #:request-method*
243 #:request-pathname
244 #:request-uri
245 #:request-uri*
246 #:require-authorization
247 #:reset-connection-stream
248 #:reset-sessions
249 #:reset-session-secret
250 #:return-code
251 #:return-code*
252 #:rfc-1123-date
253 #:script-name
254 #:script-name*
255 #:send-headers
256 #:server-protocol
257 #:server-protocol*
258 #:session
259 #:session-cookie-name
260 #:session-cookie-value
261 #:session-created
262 #:session-db
263 #:session-db-lock
264 #:session-gc
265 #:session-id
266 #:session-max-time
267 #:session-remote-addr
268 #:session-start
269 #:session-too-old-p
270 #:session-user-agent
271 #:session-value
272 #:session-verify
273 #:set-cookie
274 #:set-cookie*
275 #:shutdown
276 #:single-threaded-taskmaster
277 #-:hunchentoot-no-ssl #:ssl-acceptor
278 #:ssl-p
279 #:start
280 #:start-listening
281 #:start-session
282 #:start-thread
283 #:started-p
284 #:stop
285 #:taskmaster
286 #:taskmaster-acceptor
287 #:taskmaster-max-accept-count
288 #:taskmaster-max-thread-count
289 #:taskmaster-thread-count
290 #:too-many-taskmaster-requests
291 #:url-decode
292 #:url-encode
293 #:user-agent
294 #:within-request-p
295 #:detach-socket
296 #:bad-request))