packages.lisp
 1 ;;;; -*- mode: LISP; package: RFC2388 -*-
2 ;;;; Copyright (c) 2003 Janis Dzerins
3 ;;;;
4 ;;;; Redistribution and use in source and binary forms, with or without
5 ;;;; modification, are permitted provided that the following conditions
6 ;;;; are met:
7 ;;;; 1. Redistributions of source code must retain the above copyright
8 ;;;; notice, this list of conditions and the following disclaimer.
9 ;;;; 2. Redistributions in binary form must reproduce the above copyright
10 ;;;; notice, this list of conditions and the following disclaimer in the
11 ;;;; documentation and/or other materials provided with the distribution.
12 ;;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
13 ;;;; IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
14 ;;;; OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
15 ;;;; IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
16 ;;;; INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
17 ;;;; NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
18 ;;;; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
19 ;;;; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20 ;;;; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
21 ;;;; THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
23 #+xcvb (module ())
24
25 (in-package :cl-user)
26
27 (defpackage :rfc2388
28 (:use :common-lisp)
29 (:export
30 #:parse-header
31 #:header
32 #:header-name
33 #:header-value
34 #:header-parameters
35
36 #:content-type
37 #:find-header
38 #:find-parameter
39 #:find-content-disposition-header
40 #:get-file-name
41
42 #:parse-mime
43 #:mime-part
44 #:mime-part-contents
45 #:mime-part-headers
46 #:make-mime-part))