prepare for release 1.2.12
[hunchentoot.git] / packages.lisp
blob44616f401770641cbc6aa1ae96fb914f56bb3b94
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-no-content+
92 #:+http-non-authoritative-information+
93 #:+http-not-acceptable+
94 #:+http-not-found+
95 #:+http-not-implemented+
96 #:+http-not-modified+
97 #:+http-ok+
98 #:+http-partial-content+
99 #:+http-payment-required+
100 #:+http-precondition-failed+
101 #:+http-proxy-authentication-required+
102 #:+http-request-entity-too-large+
103 #:+http-request-time-out+
104 #:+http-request-uri-too-large+
105 #:+http-requested-range-not-satisfiable+
106 #:+http-reset-content+
107 #:+http-see-other+
108 #:+http-service-unavailable+
109 #:+http-switching-protocols+
110 #:+http-temporary-redirect+
111 #:+http-unsupported-media-type+
112 #:+http-use-proxy+
113 #:+http-version-not-supported+
114 #:abort-request-handler
115 #:accept-connections
116 #:acceptor
117 #:acceptor-access-log-destination
118 #:acceptor-address
119 #:acceptor-listen-backlog
120 #:acceptor-dispatch-request
121 #:acceptor-error-template-directory
122 #:acceptor-input-chunking-p
123 #:acceptor-log-access
124 #:acceptor-log-message
125 #:acceptor-message-log-destination
126 #:acceptor-name
127 #:acceptor-output-chunking-p
128 #:acceptor-persistent-connections-p
129 #:acceptor-port
130 #:acceptor-read-timeout
131 #:acceptor-remove-session
132 #:acceptor-reply-class
133 #:acceptor-request-class
134 #:acceptor-ssl-p
135 #-:hunchentoot-no-ssl #:acceptor-ssl-certificate-file
136 #-:hunchentoot-no-ssl #:acceptor-ssl-privatekey-file
137 #-:hunchentoot-no-ssl #:acceptor-ssl-privatekey-password
138 #:acceptor-status-message
139 #:acceptor-write-timeout
140 #:acceptor-document-root
141 #:acceptor-error-template-directory
142 #:authorization
143 #:aux-request-value
144 #:client-as-string
145 #:content-length
146 #:content-length*
147 #:content-type
148 #:content-type*
149 #:cookie-domain
150 #:cookie-expires
151 #:cookie-http-only
152 #:cookie-in
153 #:cookie-name
154 #:cookie-out
155 #:cookie-path
156 #:cookie-secure
157 #:cookie-value
158 #:cookies-in
159 #:cookies-in*
160 #:cookies-out
161 #:cookies-out*
162 #:create-folder-dispatcher-and-handler
163 #:create-prefix-dispatcher
164 #:create-regex-dispatcher
165 #:create-request-handler-thread
166 #:create-static-file-dispatcher-and-handler
167 #:decrement-taskmaster-thread-count
168 #:default-document-directory
169 #:define-easy-handler
170 #:delete-aux-request-value
171 #:delete-session-value
172 #:dispatch-easy-handlers
173 #:easy-acceptor
174 #-:hunchentoot-no-ssl #:easy-ssl-acceptor
175 #:escape-for-html
176 #:execute-acceptor
177 #:get-parameter
178 #:get-parameters
179 #:get-parameters*
180 #:handle-incoming-connection
181 #:handle-if-modified-since
182 #:handle-request
183 #:handle-static-file
184 #:header-in
185 #:header-in*
186 #:header-out
187 #:headers-in
188 #:headers-in*
189 #:headers-out
190 #:headers-out*
191 #:host
192 #:http-token-p
193 #:hunchentoot-condition
194 #:hunchentoot-error
195 #:hunchentoot-warning
196 #:increment-taskmaster-thread-count
197 #:initialize-connection-stream
198 #:log-message*
199 #:maybe-invoke-debugger
200 #:mime-type
201 #:next-session-id
202 #:no-cache
203 #:one-thread-per-connection-taskmaster
204 #:parameter
205 #:parameter-error
206 #:post-parameter
207 #:post-parameters
208 #:post-parameters*
209 #:process-connection
210 #:process-request
211 #:query-string
212 #:query-string*
213 #:raw-post-data
214 #:real-remote-addr
215 #:reason-phrase
216 #:recompute-request-parameters
217 #:redirect
218 #:referer
219 #:remote-addr
220 #:remote-addr*
221 #:remote-port
222 #:remote-port*
223 #:local-addr
224 #:local-addr*
225 #:local-port
226 #:local-port*
227 #:remove-session
228 #:reply
229 #:reply-external-format
230 #:reply-external-format*
231 #:request
232 #:request-acceptor
233 #:request-method
234 #:request-method*
235 #:request-pathname
236 #:request-uri
237 #:request-uri*
238 #:require-authorization
239 #:reset-connection-stream
240 #:reset-sessions
241 #:reset-session-secret
242 #:return-code
243 #:return-code*
244 #:rfc-1123-date
245 #:script-name
246 #:script-name*
247 #:send-headers
248 #:server-protocol
249 #:server-protocol*
250 #:session
251 #:session-cookie-name
252 #:session-cookie-value
253 #:session-created
254 #:session-db
255 #:session-db-lock
256 #:session-gc
257 #:session-id
258 #:session-max-time
259 #:session-remote-addr
260 #:session-start
261 #:session-too-old-p
262 #:session-user-agent
263 #:session-value
264 #:session-verify
265 #:set-cookie
266 #:set-cookie*
267 #:shutdown
268 #:single-threaded-taskmaster
269 #-:hunchentoot-no-ssl #:ssl-acceptor
270 #:ssl-p
271 #:start
272 #:start-listening
273 #:start-session
274 #:stop
275 #:taskmaster
276 #:taskmaster-acceptor
277 #:taskmaster-max-accept-count
278 #:taskmaster-max-thread-count
279 #:taskmaster-thread-count
280 #:too-many-taskmaster-requests
281 #:url-decode
282 #:url-encode
283 #:user-agent
284 #:within-request-p))
286 ;; see asdf system definition
287 (defparameter hunchentoot:*hunchentoot-version*
288 #.hunchentoot-asd::*hunchentoot-version*)