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