1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
|
(defpackage #:org.shirakumo.zippy
(:use #:cl)
(:local-nicknames
(#:file-attributes #:org.shirakumo.file-attributes))
;; compression.lisp
(:export
#:make-decompression-state
#:call-with-decompressed-buffer
#:make-compression-state
#:call-with-compressed-buffer
#:call-with-completed-compressed-buffer)
;; conditions.lisp
(:export
#:zippy-condition
#:decoding-error
#:encoding-error
#:unknown-block-signature
#:signature
#:unknown-structure-type
#:object
#:mismatched-type-signature
#:signature
#:zip64-required
#:parameter
#:out-of-bounds-seek
#:target
#:stream-closed
#:malformed-file
#:message
#:required-version-mismatched
#:specified-version
#:required-version
#:integer-too-large
#:object
#:unsupported-compression-method
#:compression-method
#:unsupported-encryption-method
#:encryption-method
#:unknown-enum-value
#:value
#:password-required)
;; decode.lisp
(:export
#:archive-file-required
#:disk
#:decode-file
#:with-zip-file
#:open-zip-file
#:decode-entry)
;; encode.lisp
(:export
#:*version*
#:*compatibility*
#:encode-file)
;; encryption.lisp
(:export
#:make-decryption-state
#:call-with-decrypted-buffer
#:make-encryption-state
#:call-with-encrypted-buffer
#:call-with-completed-encrypted-buffer)
;; io.lisp
(:export
#:io
#:vector-input
#:vector-input-vector
#:vector-input-index
#:vector-input-start
#:vector-input-end
#:seek
#:has-more
#:index
#:size
#:start
#:end
#:ub32
#:output
#:parse-structure*
#:write-structure*
#:parse-structure
#:with-io)
;; parser.lisp
(:export
#:decode-structure
#:read-structure
#:encode-structure
#:write-structure
#:define-byte-structure)
;; structures.lisp
(:export
#:zip64-extended-information
#:os/2
#:ntfs
#:openvms
#:unix
#:patch-descriptor
#:pkcs7-store
#:x509-file
#:x509-central-directory
#:encryption-header
#:record-management-controls
#:pkcs7-encryption-recipient-certificate-list
#:mvs
#:policy-decryption-key-record
#:key-provider-record
#:policy-key-data-record
#:zipit-macintosh-long
#:zipit-macintosh-short-file
#:zipit-macintosh-short-dir
#:infozip-unicode-comment
#:infozip-unicode-path
#:data-stream-alignment
#:microsoft-open-packaging-growth-hint
#:aes-extra-data)
;; tables.lisp
(:export
#:file-attribute-name
#:file-attribute-id
#:compression-method-name
#:compression-method-id
#:encryption-method-name
#:encryption-method-id)
;; toolkit.lisp
(:export
#:*default-buffer-size*)
;; zippy.lisp
(:export
#:zip-file
#:entries
#:disks
#:comment
#:move-in-memory
#:zip-entry
#:zip-file
#:version
#:attributes
#:encryption-method
#:compression-method
#:crc-32
#:disk
#:offset
#:size
#:uncompressed-size
#:extra-fields
#:last-modified
#:file-name
#:comment
#:content
#:entry-to-file
#:entry-to-stream
#:entry-to-vector
#:extract-zip
#:compress-zip))
|