| 1 |
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*- |
|---|
| 2 |
;;; $Header: /usr/local/cvsrep/chunga/packages.lisp,v 1.19 2008/05/24 18:38:30 edi Exp $ |
|---|
| 3 |
|
|---|
| 4 |
;;; Copyright (c) 2006-2008, Dr. Edmund Weitz. All rights reserved. |
|---|
| 5 |
|
|---|
| 6 |
;;; Redistribution and use in source and binary forms, with or without |
|---|
| 7 |
;;; modification, are permitted provided that the following conditions |
|---|
| 8 |
;;; are met: |
|---|
| 9 |
|
|---|
| 10 |
;;; * Redistributions of source code must retain the above copyright |
|---|
| 11 |
;;; notice, this list of conditions and the following disclaimer. |
|---|
| 12 |
|
|---|
| 13 |
;;; * Redistributions in binary form must reproduce the above |
|---|
| 14 |
;;; copyright notice, this list of conditions and the following |
|---|
| 15 |
;;; disclaimer in the documentation and/or other materials |
|---|
| 16 |
;;; provided with the distribution. |
|---|
| 17 |
|
|---|
| 18 |
;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED |
|---|
| 19 |
;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|---|
| 20 |
;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
|---|
| 21 |
;;; ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
|---|
| 22 |
;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
|---|
| 23 |
;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
|---|
| 24 |
;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
|---|
| 25 |
;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
|---|
| 26 |
;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
|---|
| 27 |
;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
|---|
| 28 |
;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|---|
| 29 |
|
|---|
| 30 |
(in-package :cl-user) |
|---|
| 31 |
|
|---|
| 32 |
(defpackage :chunga |
|---|
| 33 |
(:use :cl :trivial-gray-streams) |
|---|
| 34 |
#+:lispworks |
|---|
| 35 |
(:import-from :lw :when-let) |
|---|
| 36 |
(:export :*accept-bogus-eols* |
|---|
| 37 |
:*current-error-message* |
|---|
| 38 |
:*treat-semicolon-as-continuation* |
|---|
| 39 |
:assert-char |
|---|
| 40 |
:as-keyword |
|---|
| 41 |
:as-capitalized-string |
|---|
| 42 |
:chunked-input-stream |
|---|
| 43 |
:chunked-input-stream-extensions |
|---|
| 44 |
:chunked-input-stream-trailers |
|---|
| 45 |
:chunked-io-stream |
|---|
| 46 |
:chunked-output-stream |
|---|
| 47 |
:chunked-stream |
|---|
| 48 |
:chunked-stream-input-chunking-p |
|---|
| 49 |
:chunked-stream-output-chunking-p |
|---|
| 50 |
:chunked-stream-stream |
|---|
| 51 |
:input-chunking-body-corrupted |
|---|
| 52 |
:input-chunking-unexpected-end-of-file |
|---|
| 53 |
:make-chunked-stream |
|---|
| 54 |
:read-http-headers |
|---|
| 55 |
:read-char* |
|---|
| 56 |
:read-line* |
|---|
| 57 |
:read-name-value-pair |
|---|
| 58 |
:read-name-value-pairs |
|---|
| 59 |
:read-token |
|---|
| 60 |
:skip-whitespace |
|---|
| 61 |
:trim-whitespace |
|---|
| 62 |
:with-character-stream-semantics)) |
|---|
| 63 |
|
|---|