The chunga Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The chunga Reference Manual

This is the chunga Reference Manual, version 1.1.6, generated automatically by Declt version 2.3 "Robert April" on Tue Jan 09 13:21:45 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

1.1 chunga

Version

1.1.6

Dependency

trivial-gray-streams

Source

chunga.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

2 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

2.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.1 chunga.asd

Location

chunga.asd

Systems

chunga (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.2 chunga/packages.lisp

Parent

chunga (system)

Location

packages.lisp

Packages

chunga


Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.3 chunga/specials.lisp

Dependency

packages.lisp (file)

Parent

chunga (system)

Location

specials.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.4 chunga/util.lisp

Dependency

specials.lisp (file)

Parent

chunga (system)

Location

util.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.5 chunga/known-words.lisp

Dependency

util.lisp (file)

Parent

chunga (system)

Location

known-words.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.6 chunga/conditions.lisp

Dependency

known-words.lisp (file)

Parent

chunga (system)

Location

conditions.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.7 chunga/read.lisp

Dependency

conditions.lisp (file)

Parent

chunga (system)

Location

read.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.8 chunga/streams.lisp

Dependency

read.lisp (file)

Parent

chunga (system)

Location

streams.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

2.1.9 chunga/input.lisp

Dependency

streams.lisp (file)

Parent

chunga (system)

Location

input.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

2.1.10 chunga/output.lisp

Dependency

input.lisp (file)

Parent

chunga (system)

Location

output.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

3 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

3.1 chunga

Source

packages.lisp (file)

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

4.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

4.1.1 Special variables

Special Variable: *accept-bogus-eols*

Some web servers do not respond with a correct CRLF line ending for HTTP headers but with a lone linefeed or carriage return instead. If this variable is bound to a true value, READ-LINE* will treat a lone LF or CR character as an acceptable end of line. The initial value is NIL.

Package

chunga

Source

specials.lisp (file)

Special Variable: *current-error-message*

Used by the parsing functions in ‘read.lisp’ as an introduction to a standardized error message about unexpected characters unless it is NIL.

Package

chunga

Source

specials.lisp (file)

Special Variable: *treat-semicolon-as-continuation*

According to John Foderaro, Netscape v3 web servers bogusly split Set-Cookie headers over multiple lines which means that we’d have to treat Set-Cookie headers ending with a semicolon as incomplete and combine them with the next header. This will only be done if this variable has a true value, though.

Package

chunga

Source

specials.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

4.1.2 Macros

Macro: with-character-stream-semantics &body BODY

Binds *CHAR-BUFFER* around BODY so that within BODY we can use READ-CHAR* and friends (see above) to simulate a character stream although we’re reading from a binary stream.

Package

chunga

Source

util.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

4.1.3 Functions

Function: as-capitalized-string KEYWORD

Kind of the inverse of AS-KEYWORD. Has essentially the same effect as STRING-CAPITALIZE but is optimized for "known" keywords like :CONTENT-LENGTH or :GET.

Package

chunga

Source

known-words.lisp (file)

Function: as-keyword STRING &key DESTRUCTIVEP

Converts the string STRING to a keyword where all characters are uppercase or lowercase, taking into account the current readtable case. Might destructively modify STRING if DESTRUCTIVEP is true which is the default. "Knows" several HTTP header names and methods and is optimized to not call INTERN for these.

Package

chunga

Source

known-words.lisp (file)

Function: assert-char STREAM EXPECTED-CHAR

Reads the next character from STREAM and checks if it is the character EXPECTED-CHAR. Signals an error otherwise.

Package

chunga

Source

read.lisp (file)

Function: make-chunked-stream STREAM

Creates and returns a chunked stream (a stream of type CHUNKED-STREAM) which wraps STREAM. STREAM must be an open binary stream.

Package

chunga

Source

streams.lisp (file)

Function: peek-char* STREAM &optional EOF-ERROR-P EOF-VALUE

We’re simulating PEEK-CHAR by reading a character and putting it into *CHAR-BUFFER*.

Package

chunga

Source

util.lisp (file)

Function: read-char* STREAM &optional EOF-ERROR-P EOF-VALUE

The streams we’re dealing with are all binary with element type (UNSIGNED-BYTE 8) and we’re only interested in ISO-8859-1, so we use this to ‘simulate’ READ-CHAR.

Package

chunga

Source

util.lisp (file)

Function: read-http-headers STREAM &optional LOG-STREAM

Reads HTTP header lines from STREAM (except for the initial status line which is supposed to be read already) and returns a corresponding alist of names and values where the names are keywords and the values are strings. Multiple lines with the same name are combined into one value, the individual values separated by commas. Header lines which are spread across multiple lines are recognized and treated correctly. Additonally logs the header lines to LOG-STREAM if it is not NIL.

Package

chunga

Source

read.lisp (file)

Function: read-line* STREAM &optional LOG-STREAM

Reads and assembles characters from the binary stream STREAM until a carriage return is read. Makes sure that the following character is a linefeed. If *ACCEPT-BOGUS-EOLS* is not NIL, then the function will also accept a lone carriage return or linefeed as an acceptable line break. Returns the string of characters read excluding the line break. Returns NIL if input ends before one character was read. Additionally logs this string to LOG-STREAM if it is not NIL.

Package

chunga

Source

read.lisp (file)

Function: read-name-value-pair STREAM &key VALUE-REQUIRED-P COOKIE-SYNTAX

Reads a typical (in RFC 2616) name/value or attribute/value combination from STREAM - a token followed by a #\= character and another token or a quoted string. Returns a cons of name and value, both as strings. If VALUE-REQUIRED-P is NIL, the #\= sign and the value are optional. If COOKIE-SYNTAX is true, uses READ-COOKIE-VALUE internally.

Package

chunga

Source

read.lisp (file)

Function: read-name-value-pairs STREAM &key VALUE-REQUIRED-P COOKIE-SYNTAX

Uses READ-NAME-VALUE-PAIR to read and return an alist of name/value pairs from STREAM. It is assumed that the pairs are separated by semicolons and that the first char read (except for whitespace) will be a semicolon. The parameters are used as in READ-NAME-VALUE-PAIR. Stops reading in case of END-OF-FILE (instead of signaling an error).

Package

chunga

Source

read.lisp (file)

Function: read-token STREAM

Read characters from STREAM while they are token constituents (according to RFC 2616). It is assumed that there’s a token character at the current position. The token read is returned as a string. Doesn’t signal an error (but simply stops reading) if END-OF-FILE is encountered after the first character.

Package

chunga

Source

read.lisp (file)

Function: skip-whitespace STREAM

Consume characters from STREAM until an END-OF-FILE is encountered or a non-whitespace (according to RFC 2616) characters is seen. This character is returned (or NIL in case of END-OF-FILE).

Package

chunga

Source

read.lisp (file)

Function: token-char-p CHAR

Returns true if the Lisp character CHAR is a token constituent according to RFC 2616.

Package

chunga

Source

read.lisp (file)

Function: trim-whitespace STRING &key START END

Returns a version of the string STRING (between START and END) where spaces and tab characters are trimmed from the start and the end. Might return STRING.

Package

chunga

Source

read.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

4.1.4 Generic functions

Generic Function: chunked-input-stream-extensions OBJECT
Package

chunga

Methods
Method: chunked-input-stream-extensions OBJECT

The default method which always returns the empty list.

Source

input.lisp (file)

Method: chunked-input-stream-extensions (CHUNKED-INPUT-STREAM chunked-input-stream)

An alist of attribute/value
pairs corresponding to the optional ‘chunk extensions’ which might be encountered when reading from a chunked stream.

Source

streams.lisp (file)

Generic Function: chunked-input-stream-trailers OBJECT
Package

chunga

Methods
Method: chunked-input-stream-trailers OBJECT

The default method which always returns the empty list.

Source

input.lisp (file)

Method: chunked-input-stream-trailers (CHUNKED-INPUT-STREAM chunked-input-stream)

An alist of attribute/value
pairs corresponding to the optional ‘trailer’ HTTP headers which might be encountered at the end of a chunked stream.

Source

streams.lisp (file)

Generic Function: chunked-stream-input-chunking-p OBJECT
Generic Function: (setf chunked-stream-input-chunking-p) NEW-VALUE STREAM
Package

chunga

Methods
Method: chunked-stream-input-chunking-p OBJECT

The default method for all objects which are not of type CHUNKED-INPUT-STREAM.

Source

input.lisp (file)

Method: chunked-stream-input-chunking-p (CHUNKED-INPUT-STREAM chunked-input-stream)

Whether input chunking is currently enabled.

Source

streams.lisp (file)

Method: (setf chunked-stream-input-chunking-p) NEW-VALUE (STREAM chunked-input-stream)

Switches input chunking for STREAM on or off.

Source

input.lisp (file)

Generic Function: chunked-stream-output-chunking-p OBJECT
Generic Function: (setf chunked-stream-output-chunking-p) NEW-VALUE STREAM
Package

chunga

Methods
Method: chunked-stream-output-chunking-p OBJECT

The default method for all objects which are not of type CHUNKED-OUTPUT-STREAM.

Source

output.lisp (file)

Method: chunked-stream-output-chunking-p (CHUNKED-OUTPUT-STREAM chunked-output-stream)

Whether output chunking is currently enabled.

Source

streams.lisp (file)

Method: (setf chunked-stream-output-chunking-p) NEW-VALUE (STREAM chunked-output-stream)

Switches output chunking for STREAM on or off.

Source

output.lisp (file)

Generic Function: chunked-stream-stream OBJECT
Package

chunga

Methods
Method: chunked-stream-stream (CHUNKED-STREAM chunked-stream)

The actual stream that’s used for input and/or output.

Source

streams.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

4.1.5 Conditions

Condition: chunga-error ()

Superclass for all errors related to Chunga. This
is a subtype of STREAM-ERROR, so STREAM-ERROR-STREAM can be used to access the offending stream.

Package

chunga

Source

conditions.lisp (file)

Direct superclasses
Direct subclasses
Condition: chunga-warning ()

Superclass for all warnings related to Chunga.

Package

chunga

Source

conditions.lisp (file)

Direct superclasses
Direct subclasses

chunga-simple-warning (condition)

Condition: input-chunking-body-corrupted ()

A condition of this type is signaled if an
unexpected character (octet) is read while reading from a chunked stream with input chunking enabled.

Package

chunga

Source

conditions.lisp (file)

Direct superclasses

chunga-error (condition)

Direct slots
Slot: last-char

The (unexpected) character which was read.

Initargs

:last-char

Slot: expected-chars

The characters which were expected.
A list of characters or one single character.

Initargs

:expected-chars

Condition: input-chunking-unexpected-end-of-file ()

A condition of this type is signaled if we reach an unexpected EOF on a chunked stream with input chunking enabled.

Package

chunga

Source

conditions.lisp (file)

Direct superclasses

chunga-error (condition)

Condition: syntax-error ()

Signalled if Chunga encounters wrong or unknown syntax when reading data.

Package

chunga

Source

conditions.lisp (file)

Direct superclasses

chunga-simple-error (condition)


Previous: , Up: Exported definitions   [Contents][Index]

4.1.6 Classes

Class: chunked-input-stream ()

A chunked stream is of this type if its
underlying stream is an input stream. This is a subtype of CHUNKED-STREAM.

Package

chunga

Source

streams.lisp (file)

Direct superclasses
Direct subclasses

chunked-io-stream (class)

Direct methods
Direct slots
Slot: input-chunking-p

Whether input chunking is currently enabled.

Readers

chunked-stream-input-chunking-p (generic function)

Slot: input-buffer

A vector containing the binary
data from the most recent chunk that was read.

Slot: input-index

The current position within INPUT-BUFFER.

Initform

0

Readers

chunked-stream-input-index (generic function)

Writers

(setf chunked-stream-input-index) (generic function)

Slot: input-limit

Only the content in INPUT-BUFFER
up to INPUT-LIMIT belongs to the current chunk.

Initform

0

Readers

chunked-stream-input-limit (generic function)

Writers

(setf chunked-stream-input-limit) (generic function)

Slot: chunk-extensions

An alist of attribute/value
pairs corresponding to the optional ‘chunk extensions’ which might be encountered when reading from a chunked stream.

Readers

chunked-input-stream-extensions (generic function)

Slot: chunk-trailers

An alist of attribute/value
pairs corresponding to the optional ‘trailer’ HTTP headers which might be encountered at the end of a chunked stream.

Readers

chunked-input-stream-trailers (generic function)

Slot: expecting-crlf-p

Whether we expect to see
CRLF before we can read the next chunk-size header part from the stream. (This will actually be the CRLF from the end of the last chunk-data part.)

Readers

expecting-crlf-p (generic function)

Writers

(setf expecting-crlf-p) (generic function)

Class: chunked-io-stream ()

A chunked stream is of this type if it is both
a CHUNKED-INPUT-STREAM as well as a CHUNKED-OUTPUT-STREAM.

Package

chunga

Source

streams.lisp (file)

Direct superclasses
Class: chunked-output-stream ()

A chunked stream is of this type if its
underlying stream is an output stream. This is a subtype of CHUNKED-STREAM.

Package

chunga

Source

streams.lisp (file)

Direct superclasses
Direct subclasses

chunked-io-stream (class)

Direct methods
Direct slots
Slot: output-chunking-p

Whether output chunking is currently enabled.

Readers

chunked-stream-output-chunking-p (generic function)

Slot: output-buffer

A vector used to temporarily
store data which will output in one chunk.

Initform

(make-array chunga::+output-buffer-size+ :element-type (quote (unsigned-byte 8)))

Readers

output-buffer (generic function)

Writers

(setf output-buffer) (generic function)

Slot: output-index

The current end of OUTPUT-BUFFER.

Initform

0

Readers

output-index (generic function)

Writers

(setf output-index) (generic function)

Class: chunked-stream ()

Every chunked stream returned by
MAKE-CHUNKED-STREAM is of this type which is a subtype of STREAM.

Package

chunga

Source

streams.lisp (file)

Direct superclasses

trivial-gray-stream-mixin (class)

Direct subclasses
Direct methods
Direct slots
Slot: real-stream

The actual stream that’s used for input and/or output.

Initargs

:real-stream

Readers

chunked-stream-stream (generic function)


Previous: , Up: Definitions   [Contents][Index]

4.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

4.2.1 Constants

Constant: +crlf+

A 2-element array consisting of the character codes for a CRLF sequence.

Package

chunga

Source

specials.lisp (file)

Constant: +hex-digits+

The hexadecimal digits.

Package

chunga

Source

specials.lisp (file)

Constant: +keyword-to-string-hash+

A hash table which maps keywords derived from +KNOWN-WORDS+ to capitalized strings.

Package

chunga

Source

known-words.lisp (file)

Constant: +known-words+

A list of words (headers, methods, protocols, character sets) that are typically seen in HTTP communication. Mostly from RFC 2616, but includes WebDAV stuff and other things as well.

Package

chunga

Source

known-words.lisp (file)

Constant: +output-buffer-size+

Size of the initial output buffer for chunked output.

Package

chunga

Source

specials.lisp (file)

Constant: +string-to-keyword-hash+

A hash table which case-insensitively maps the strings from +KNOWN-WORDS+ to keywords.

Package

chunga

Source

known-words.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

4.2.2 Special variables

Special Variable: *char-buffer*

A ‘buffer’ for one character. Used by PEEK-CHAR* and UNREAD-CHAR*.

Package

chunga

Source

specials.lisp (file)

Special Variable: *current-error-function*

Used by the functions in ‘read.lisp’ as a function to signal errors about unexpected characters when *CURRENT-ERROR-MESSAGE* is NIL.

Package

chunga

Source

specials.lisp (file)

Special Variable: *hyperdoc-base-uri*
Package

chunga

Source

specials.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

4.2.3 Macros

Macro: define-constant NAME VALUE &optional DOC

A version of DEFCONSTANT for, cough, /strict/ CL implementations.

Package

chunga

Source

specials.lisp (file)

Macro: when-let (VAR EXPR) &body BODY

Evaluates EXPR, binds it to VAR, and executes BODY if VAR has a true value.

Package

chunga

Source

util.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

4.2.4 Functions

Function: assert-crlf STREAM

Reads the next two characters from STREAM and checks if these are a carriage return and a linefeed. Signals an error otherwise.

Package

chunga

Source

read.lisp (file)

Function: charp CHAR

Returns true if the Lisp character CHAR is a CHAR according to RFC 2616.

Package

chunga

Source

read.lisp (file)

Function: controlp CHAR

Returns true if the Lisp character CHAR is a CTL according to RFC 2616.

Package

chunga

Source

read.lisp (file)

Function: ends-with-p SEQ SUFFIX &key TEST

Returns true if the sequence SEQ ends with the sequence SUFFIX. Individual elements are compared with TEST.

Package

chunga

Source

util.lisp (file)

Function: hyperdoc-lookup SYMBOL TYPE
Package

chunga

Source

specials.lisp (file)

Function: make-keyword STRING DESTRUCTIVEP

Converts the string STRING to a keyword where all characters are uppercase or lowercase, taking into account the current readtable case. Destructively modifies STRING if DESTRUCTIVEP is true.

Package

chunga

Source

util.lisp (file)

Function: read-cookie-value STREAM &key SEPARATORS

Reads a cookie parameter value from STREAM which is returned as a string. Simply reads until a semicolon is seen (or an element of SEPARATORS). Also reads quoted strings if the first non-whitespace character is a quotation mark (as in RFC 2109).

Package

chunga

Source

read.lisp (file)

Function: read-quoted-string STREAM

Reads a quoted string (according to RFC 2616). It is assumed that the character at the current position is the opening quote character. Returns the string read without quotes and escape characters.

Package

chunga

Source

read.lisp (file)

Function: separatorp CHAR

Returns true if the Lisp character CHAR is a separator according to RFC 2616.

Package

chunga

Source

read.lisp (file)

Function: signal-unexpected-chars STREAM LAST-CHAR EXPECTED-CHARS

Signals an error that LAST-CHAR was read although one of EXPECTED-CHARS was expected. (Note that EXPECTED-CHARS, despite its name, can also be a single character instead of a list). Calls *CURRENT-ERROR-FUNCTION* if it’s not NIL, or uses *CURRENT-ERROR-MESSAGE* otherwise.

Package

chunga

Source

read.lisp (file)

Function: unread-char* CHAR

Were simulating UNREAD-CHAR by putting the character into *CHAR-BUFFER*.

Package

chunga

Source

util.lisp (file)

Function: whitespacep CHAR

Returns true if the Lisp character CHAR is whitespace according to RFC 2616.

Package

chunga

Source

read.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

4.2.5 Generic functions

Generic Function: chunked-input-available-p STREAM
Package

chunga

Methods
Method: chunked-input-available-p (STREAM chunked-input-stream)

Whether there’s unread input waiting in the chunk buffer.

Source

input.lisp (file)

Generic Function: chunked-stream-input-index OBJECT
Generic Function: (setf chunked-stream-input-index) NEW-VALUE OBJECT
Package

chunga

Methods
Method: chunked-stream-input-index (CHUNKED-INPUT-STREAM chunked-input-stream)
Method: (setf chunked-stream-input-index) NEW-VALUE (CHUNKED-INPUT-STREAM chunked-input-stream)

The current position within INPUT-BUFFER.

Source

streams.lisp (file)

Generic Function: chunked-stream-input-limit OBJECT
Generic Function: (setf chunked-stream-input-limit) NEW-VALUE OBJECT
Package

chunga

Methods
Method: chunked-stream-input-limit (CHUNKED-INPUT-STREAM chunked-input-stream)
Method: (setf chunked-stream-input-limit) NEW-VALUE (CHUNKED-INPUT-STREAM chunked-input-stream)

Only the content in INPUT-BUFFER
up to INPUT-LIMIT belongs to the current chunk.

Source

streams.lisp (file)

Generic Function: expecting-crlf-p OBJECT
Generic Function: (setf expecting-crlf-p) NEW-VALUE OBJECT
Package

chunga

Methods
Method: expecting-crlf-p (CHUNKED-INPUT-STREAM chunked-input-stream)
Method: (setf expecting-crlf-p) NEW-VALUE (CHUNKED-INPUT-STREAM chunked-input-stream)

Whether we expect to see
CRLF before we can read the next chunk-size header part from the stream. (This will actually be the CRLF from the end of the last chunk-data part.)

Source

streams.lisp (file)

Generic Function: fill-buffer STREAM
Package

chunga

Methods
Method: fill-buffer (STREAM chunked-input-stream)

Re-fills the chunk buffer. Returns NIL if chunking has ended.

Source

input.lisp (file)

Generic Function: flush-buffer STREAM
Package

chunga

Methods
Method: flush-buffer (STREAM chunked-output-stream)

Uses WRITE-CHUNK to empty the output buffer unless it is already empty.

Source

output.lisp (file)

Generic Function: output-buffer OBJECT
Generic Function: (setf output-buffer) NEW-VALUE OBJECT
Package

chunga

Methods
Method: output-buffer (CHUNKED-OUTPUT-STREAM chunked-output-stream)
Method: (setf output-buffer) NEW-VALUE (CHUNKED-OUTPUT-STREAM chunked-output-stream)

A vector used to temporarily
store data which will output in one chunk.

Source

streams.lisp (file)

Generic Function: output-index OBJECT
Generic Function: (setf output-index) NEW-VALUE OBJECT
Package

chunga

Methods
Method: output-index (CHUNKED-OUTPUT-STREAM chunked-output-stream)
Method: (setf output-index) NEW-VALUE (CHUNKED-OUTPUT-STREAM chunked-output-stream)

The current end of OUTPUT-BUFFER.

Source

streams.lisp (file)

Generic Function: write-chunk STREAM SEQUENCE &key START END
Package

chunga

Methods
Method: write-chunk (STREAM chunked-output-stream) SEQUENCE &key START END

Writes the contents of SEQUENCE from START to END to the underlying stream of STREAM as one chunk.

Source

output.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

4.2.6 Conditions

Condition: chunga-condition ()

Superclass for all conditions related to Chunga.

Package

chunga

Source

conditions.lisp (file)

Direct superclasses

condition (condition)

Direct subclasses
Condition: chunga-simple-error ()

Like CHUNGA-ERROR but with formatting capabilities.

Package

chunga

Source

conditions.lisp (file)

Direct superclasses
Direct subclasses
Condition: chunga-simple-warning ()

Like CHUNGA-WARNING but with formatting capabilities.

Package

chunga

Source

conditions.lisp (file)

Direct superclasses
Condition: parameter-error ()

Signalled if a function was called with inconsistent or illegal parameters.

Package

chunga

Source

conditions.lisp (file)

Direct superclasses

chunga-simple-error (condition)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
chunga.asd: The chunga<dot>asd file
chunga/conditions.lisp: The chunga/conditions<dot>lisp file
chunga/input.lisp: The chunga/input<dot>lisp file
chunga/known-words.lisp: The chunga/known-words<dot>lisp file
chunga/output.lisp: The chunga/output<dot>lisp file
chunga/packages.lisp: The chunga/packages<dot>lisp file
chunga/read.lisp: The chunga/read<dot>lisp file
chunga/specials.lisp: The chunga/specials<dot>lisp file
chunga/streams.lisp: The chunga/streams<dot>lisp file
chunga/util.lisp: The chunga/util<dot>lisp file

F
File, Lisp, chunga.asd: The chunga<dot>asd file
File, Lisp, chunga/conditions.lisp: The chunga/conditions<dot>lisp file
File, Lisp, chunga/input.lisp: The chunga/input<dot>lisp file
File, Lisp, chunga/known-words.lisp: The chunga/known-words<dot>lisp file
File, Lisp, chunga/output.lisp: The chunga/output<dot>lisp file
File, Lisp, chunga/packages.lisp: The chunga/packages<dot>lisp file
File, Lisp, chunga/read.lisp: The chunga/read<dot>lisp file
File, Lisp, chunga/specials.lisp: The chunga/specials<dot>lisp file
File, Lisp, chunga/streams.lisp: The chunga/streams<dot>lisp file
File, Lisp, chunga/util.lisp: The chunga/util<dot>lisp file

L
Lisp File, chunga.asd: The chunga<dot>asd file
Lisp File, chunga/conditions.lisp: The chunga/conditions<dot>lisp file
Lisp File, chunga/input.lisp: The chunga/input<dot>lisp file
Lisp File, chunga/known-words.lisp: The chunga/known-words<dot>lisp file
Lisp File, chunga/output.lisp: The chunga/output<dot>lisp file
Lisp File, chunga/packages.lisp: The chunga/packages<dot>lisp file
Lisp File, chunga/read.lisp: The chunga/read<dot>lisp file
Lisp File, chunga/specials.lisp: The chunga/specials<dot>lisp file
Lisp File, chunga/streams.lisp: The chunga/streams<dot>lisp file
Lisp File, chunga/util.lisp: The chunga/util<dot>lisp file

Jump to:   C   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (  
A   C   D   E   F   G   H   M   O   P   R   S   T   U   W  
Index Entry  Section

(
(setf chunked-stream-input-chunking-p): Exported generic functions
(setf chunked-stream-input-chunking-p): Exported generic functions
(setf chunked-stream-input-index): Internal generic functions
(setf chunked-stream-input-index): Internal generic functions
(setf chunked-stream-input-limit): Internal generic functions
(setf chunked-stream-input-limit): Internal generic functions
(setf chunked-stream-output-chunking-p): Exported generic functions
(setf chunked-stream-output-chunking-p): Exported generic functions
(setf expecting-crlf-p): Internal generic functions
(setf expecting-crlf-p): Internal generic functions
(setf output-buffer): Internal generic functions
(setf output-buffer): Internal generic functions
(setf output-index): Internal generic functions
(setf output-index): Internal generic functions

A
as-capitalized-string: Exported functions
as-keyword: Exported functions
assert-char: Exported functions
assert-crlf: Internal functions

C
charp: Internal functions
chunked-input-available-p: Internal generic functions
chunked-input-available-p: Internal generic functions
chunked-input-stream-extensions: Exported generic functions
chunked-input-stream-extensions: Exported generic functions
chunked-input-stream-extensions: Exported generic functions
chunked-input-stream-trailers: Exported generic functions
chunked-input-stream-trailers: Exported generic functions
chunked-input-stream-trailers: Exported generic functions
chunked-stream-input-chunking-p: Exported generic functions
chunked-stream-input-chunking-p: Exported generic functions
chunked-stream-input-chunking-p: Exported generic functions
chunked-stream-input-index: Internal generic functions
chunked-stream-input-index: Internal generic functions
chunked-stream-input-limit: Internal generic functions
chunked-stream-input-limit: Internal generic functions
chunked-stream-output-chunking-p: Exported generic functions
chunked-stream-output-chunking-p: Exported generic functions
chunked-stream-output-chunking-p: Exported generic functions
chunked-stream-stream: Exported generic functions
chunked-stream-stream: Exported generic functions
controlp: Internal functions

D
define-constant: Internal macros

E
ends-with-p: Internal functions
expecting-crlf-p: Internal generic functions
expecting-crlf-p: Internal generic functions

F
fill-buffer: Internal generic functions
fill-buffer: Internal generic functions
flush-buffer: Internal generic functions
flush-buffer: Internal generic functions
Function, as-capitalized-string: Exported functions
Function, as-keyword: Exported functions
Function, assert-char: Exported functions
Function, assert-crlf: Internal functions
Function, charp: Internal functions
Function, controlp: Internal functions
Function, ends-with-p: Internal functions
Function, hyperdoc-lookup: Internal functions
Function, make-chunked-stream: Exported functions
Function, make-keyword: Internal functions
Function, peek-char*: Exported functions
Function, read-char*: Exported functions
Function, read-cookie-value: Internal functions
Function, read-http-headers: Exported functions
Function, read-line*: Exported functions
Function, read-name-value-pair: Exported functions
Function, read-name-value-pairs: Exported functions
Function, read-quoted-string: Internal functions
Function, read-token: Exported functions
Function, separatorp: Internal functions
Function, signal-unexpected-chars: Internal functions
Function, skip-whitespace: Exported functions
Function, token-char-p: Exported functions
Function, trim-whitespace: Exported functions
Function, unread-char*: Internal functions
Function, whitespacep: Internal functions

G
Generic Function, (setf chunked-stream-input-chunking-p): Exported generic functions
Generic Function, (setf chunked-stream-input-index): Internal generic functions
Generic Function, (setf chunked-stream-input-limit): Internal generic functions
Generic Function, (setf chunked-stream-output-chunking-p): Exported generic functions
Generic Function, (setf expecting-crlf-p): Internal generic functions
Generic Function, (setf output-buffer): Internal generic functions
Generic Function, (setf output-index): Internal generic functions
Generic Function, chunked-input-available-p: Internal generic functions
Generic Function, chunked-input-stream-extensions: Exported generic functions
Generic Function, chunked-input-stream-trailers: Exported generic functions
Generic Function, chunked-stream-input-chunking-p: Exported generic functions
Generic Function, chunked-stream-input-index: Internal generic functions
Generic Function, chunked-stream-input-limit: Internal generic functions
Generic Function, chunked-stream-output-chunking-p: Exported generic functions
Generic Function, chunked-stream-stream: Exported generic functions
Generic Function, expecting-crlf-p: Internal generic functions
Generic Function, fill-buffer: Internal generic functions
Generic Function, flush-buffer: Internal generic functions
Generic Function, output-buffer: Internal generic functions
Generic Function, output-index: Internal generic functions
Generic Function, write-chunk: Internal generic functions

H
hyperdoc-lookup: Internal functions

M
Macro, define-constant: Internal macros
Macro, when-let: Internal macros
Macro, with-character-stream-semantics: Exported macros
make-chunked-stream: Exported functions
make-keyword: Internal functions
Method, (setf chunked-stream-input-chunking-p): Exported generic functions
Method, (setf chunked-stream-input-index): Internal generic functions
Method, (setf chunked-stream-input-limit): Internal generic functions
Method, (setf chunked-stream-output-chunking-p): Exported generic functions
Method, (setf expecting-crlf-p): Internal generic functions
Method, (setf output-buffer): Internal generic functions
Method, (setf output-index): Internal generic functions
Method, chunked-input-available-p: Internal generic functions
Method, chunked-input-stream-extensions: Exported generic functions
Method, chunked-input-stream-extensions: Exported generic functions
Method, chunked-input-stream-trailers: Exported generic functions
Method, chunked-input-stream-trailers: Exported generic functions
Method, chunked-stream-input-chunking-p: Exported generic functions
Method, chunked-stream-input-chunking-p: Exported generic functions
Method, chunked-stream-input-index: Internal generic functions
Method, chunked-stream-input-limit: Internal generic functions
Method, chunked-stream-output-chunking-p: Exported generic functions
Method, chunked-stream-output-chunking-p: Exported generic functions
Method, chunked-stream-stream: Exported generic functions
Method, expecting-crlf-p: Internal generic functions
Method, fill-buffer: Internal generic functions
Method, flush-buffer: Internal generic functions
Method, output-buffer: Internal generic functions
Method, output-index: Internal generic functions
Method, write-chunk: Internal generic functions

O
output-buffer: Internal generic functions
output-buffer: Internal generic functions
output-index: Internal generic functions
output-index: Internal generic functions

P
peek-char*: Exported functions

R
read-char*: Exported functions
read-cookie-value: Internal functions
read-http-headers: Exported functions
read-line*: Exported functions
read-name-value-pair: Exported functions
read-name-value-pairs: Exported functions
read-quoted-string: Internal functions
read-token: Exported functions

S
separatorp: Internal functions
signal-unexpected-chars: Internal functions
skip-whitespace: Exported functions

T
token-char-p: Exported functions
trim-whitespace: Exported functions

U
unread-char*: Internal functions

W
when-let: Internal macros
whitespacep: Internal functions
with-character-stream-semantics: Exported macros
write-chunk: Internal generic functions
write-chunk: Internal generic functions

Jump to:   (  
A   C   D   E   F   G   H   M   O   P   R   S   T   U   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *   +  
C   E   I   L   O   R   S  
Index Entry  Section

*
*accept-bogus-eols*: Exported special variables
*char-buffer*: Internal special variables
*current-error-function*: Internal special variables
*current-error-message*: Exported special variables
*hyperdoc-base-uri*: Internal special variables
*treat-semicolon-as-continuation*: Exported special variables

+
+crlf+: Internal constants
+hex-digits+: Internal constants
+keyword-to-string-hash+: Internal constants
+known-words+: Internal constants
+output-buffer-size+: Internal constants
+string-to-keyword-hash+: Internal constants

C
chunk-extensions: Exported classes
chunk-trailers: Exported classes
Constant, +crlf+: Internal constants
Constant, +hex-digits+: Internal constants
Constant, +keyword-to-string-hash+: Internal constants
Constant, +known-words+: Internal constants
Constant, +output-buffer-size+: Internal constants
Constant, +string-to-keyword-hash+: Internal constants

E
expected-chars: Exported conditions
expecting-crlf-p: Exported classes

I
input-buffer: Exported classes
input-chunking-p: Exported classes
input-index: Exported classes
input-limit: Exported classes

L
last-char: Exported conditions

O
output-buffer: Exported classes
output-chunking-p: Exported classes
output-index: Exported classes

R
real-stream: Exported classes

S
Slot, chunk-extensions: Exported classes
Slot, chunk-trailers: Exported classes
Slot, expected-chars: Exported conditions
Slot, expecting-crlf-p: Exported classes
Slot, input-buffer: Exported classes
Slot, input-chunking-p: Exported classes
Slot, input-index: Exported classes
Slot, input-limit: Exported classes
Slot, last-char: Exported conditions
Slot, output-buffer: Exported classes
Slot, output-chunking-p: Exported classes
Slot, output-index: Exported classes
Slot, real-stream: Exported classes
Special Variable, *accept-bogus-eols*: Exported special variables
Special Variable, *char-buffer*: Internal special variables
Special Variable, *current-error-function*: Internal special variables
Special Variable, *current-error-message*: Exported special variables
Special Variable, *hyperdoc-base-uri*: Internal special variables
Special Variable, *treat-semicolon-as-continuation*: Exported special variables

Jump to:   *   +  
C   E   I   L   O   R   S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   I   P   S  
Index Entry  Section

C
chunga: The chunga system
chunga: The chunga package
chunga-condition: Internal conditions
chunga-error: Exported conditions
chunga-simple-error: Internal conditions
chunga-simple-warning: Internal conditions
chunga-warning: Exported conditions
chunked-input-stream: Exported classes
chunked-io-stream: Exported classes
chunked-output-stream: Exported classes
chunked-stream: Exported classes
Class, chunked-input-stream: Exported classes
Class, chunked-io-stream: Exported classes
Class, chunked-output-stream: Exported classes
Class, chunked-stream: Exported classes
Condition, chunga-condition: Internal conditions
Condition, chunga-error: Exported conditions
Condition, chunga-simple-error: Internal conditions
Condition, chunga-simple-warning: Internal conditions
Condition, chunga-warning: Exported conditions
Condition, input-chunking-body-corrupted: Exported conditions
Condition, input-chunking-unexpected-end-of-file: Exported conditions
Condition, parameter-error: Internal conditions
Condition, syntax-error: Exported conditions

I
input-chunking-body-corrupted: Exported conditions
input-chunking-unexpected-end-of-file: Exported conditions

P
Package, chunga: The chunga package
parameter-error: Internal conditions

S
syntax-error: Exported conditions
System, chunga: The chunga system

Jump to:   C   I   P   S