Common Lisp Package: TEEPEEDEE2

README:

FUNCTION

Public

CALL/CC (CC)

Implements delimited continuations.

CANCEL-FINALIZATION (OBJECT)

Cancels all of OBJECT's finalizers, if any.

CON-HANGUP-HOOK (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

CON-PEER-INFO (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

CON-SOCKET (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

CON-TIMEOUT (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

DISPATCHER-CANONICAL-NAME (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

FINALIZE (OBJECT FUNCTION)

Pushes a new FUNCTION to the OBJECT's list of finalizers. FUNCTION should take no arguments. Returns OBJECT. For portability reasons, FUNCTION should not attempt to look at OBJECT by closing over it because, in some lisps, OBJECT will already have been garbage collected and is therefore not accessible when FUNCTION is invoked.

SENDBUF-LEN (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

TIMEOUT-FUNC (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

Undocumented

ACCEPT (CON DONE)

ACCEPT-FOREVER (CON DONE PROTO)

ALIST-GET (ALIST KEY &KEY (TEST #'EQL))

APPLY-BYTE-VECTOR-CAT (ARGS)

BACKTRACE-DESCRIPTION (ERR)

BYTE-TO-ASCII-UPPER (X)

BYTE-VECTOR (&REST ARGS)

BYTE-VECTOR-CAT (&REST ARGS)

BYTE-VECTOR-PARSE-INTEGER (STRING &OPTIONAL (BASE 10))

BYTE-VECTOR-TO-STRING (VEC)

BYTE-VECTOR=-FOLD-ASCII-CASE (A B)

CHANNEL-DESTROY (CHANNEL)

CHANNEL-NOTIFY (CHANNEL)

CON-ADD-FAILURE-CALLBACK (CON FUNC)

CON-CLEAR-FAILURE-CALLBACKS (CON)

CON-CONNECTED? (CON)

CON-DEAD? (CON)

CON-DEFAULT-TIMEOUT-FUNCTION (CON)

CON-FAIL (CON &OPTIONAL (E (MAKE-CONDITION 'SOCKET-EXPLICITLY-HUNGUP)))

SETFCON-HANGUP-HOOK (NEW-VALUE INSTANCE)

CON-PEEK (CON)

SETFCON-PEER-INFO (NEW-VALUE INSTANCE)

SETFCON-SOCKET (NEW-VALUE INSTANCE)

SETFCON-TIMEOUT (NEW-VALUE INSTANCE)

CON-WHEN-READY-TO-READ (CON &OPTIONAL CALLBACK)

CONCAT-SYM (&REST ARGS)

CONCAT-SYM-FROM-SYM-PACKAGE (SYM &REST ARGS)

CONVERT-CON-TO-SSL (CON)

CONVERT-CONTINUATION-TO-NORMAL-FUNCTION (K)

COPY-BYTE-VECTOR (A)

DISPATCHER-ADD-ALIAS (DISPATCHER ALIAS)

SETFDISPATCHER-CANONICAL-NAME (NEW-VALUE INSTANCE)

DISPATCHER-REGISTER-PATH (DISPATCHER PATH FUNC)

EVENT-LOOP

EVENT-LOOP-RESET

FILTER (FN LIST)

FILTER-NON-NIL (LIST)

FILTER-UNTIL-FULL (FN LIST MAX-NUM)

FIND-CHANNEL (ID)

FIND-FRAME (ID)

FIND-OR-MAKE-DISPATCHER (HOST)

FORCE-BYTE-VECTOR (VAL)

FORCE-CLASS (CLASS)

FORCE-FIRST (FORM)

FORCE-LIST (VAL)

FORCE-REST (FORM)

FORCE-SIMPLE-BYTE-VECTOR (VAL)

FORCE-STRING (VAL)

FORGET-TIMEOUTS

FORWARD-PORT (&KEY (SRC-ADDRESS 127.0.0.1) SRC-PORT (DST-ADDRESS 127.0.0.1) DST-PORT)

FRAME-ID (FRAME)

FRAME-VAR (FRAME ID &OPTIONAL DEFAULT)

SETFFRAME-VAR (VAL FRAME ID)

GET-TIMEOUT-TIME

HANGUP (CON)

HTTP-SERVE (CON DONE1345)

HTTP-SERVE-TIMEOUT

HTTP-START-SERVER (PORT)

JS-LIBRARY

JS-LIBRARY-ANIMATE

LAUNCH-HTTP-REQUEST (&KEY SSL (PORT (IF SSL 443 80)) ADDRESS BODY (PATH (FORCE-BYTE-VECTOR /)) EXTRA-HEADER-LINES HOSTNAME TIMEOUT FAILURE DONE (METHOD (FORCE-BYTE-VECTOR GET)))

LIST-ALL-FRAMES

LIST-CHANNEL-ADD (LIST-CHANNEL MESSAGE)

LIST-CHANNEL-DEL (LIST-CHANNEL MESSAGE)

LOAD-TIME-CONSTANTP (FORM &OPTIONAL ENV)

LOOKUP-HOSTNAME (HOSTNAME)

MAKE-BYTE-VECTOR (LEN)

MAKE-CON (&REST ARGS)

MAKE-CON-BIND (&KEY (PORT 0) (ADDRESS 0.0.0.0) (SOCKET-FAMILY +AF_INET+) (SOCKET-TYPE +SOCK_DGRAM+))

MAKE-CON-CONNECT (&KEY ADDRESS PORT (SOCKET-FAMILY +AF_INET+) (SOCKET-TYPE +SOCK_STREAM+))

MAKE-CON-LISTEN (&KEY (PORT 0) (ADDRESS 0.0.0.0) (SOCKET-FAMILY +AF_INET+) (SOCKET-TYPE +SOCK_STREAM+))

MAKE-DISPLACED-VECTOR (VECTOR &KEY (START 0) (END (LENGTH VECTOR)))

MAKE-MESSAGE-CHANNEL (&REST ARGS)

MAKE-TIMEOUT (&KEY FUNC DELAY)

MAX-NIL-OK (&REST ARGS)

MERGE-CONSTANT-ARGUMENTS (ARGS &KEY (PROCESS-ONE 'IDENTITY) JOIN ENV)

MESSAGE-CHANNEL-BROADCAST (MESSAGE-CHANNEL MESSAGE)

MV-FILTER (FN LIST)

NEXT-TIMEOUT (&OPTIONAL (NOW (GET-TIMEOUT-TIME)))

PERCENT-HEXPAIR-ENCODE (PLAIN)

RANDOM-BETWEEN (MIN MAX)

RANDOM-ELT (SEQUENCE)

RANDOM-SHUFFLE (SEQUENCE)

READ-SAFELY (&REST ARGS)

READ-SAFELY-FROM-STRING (STRING)

RECV (CON DONE AMOUNT)

RECV-DISCARD-AND-CLOSE (CON DONE)

RECV-UNTIL-CLOSE (CON DONE)

RECVLINE (CON DONE &OPTIONAL (DELIMITER +NEWLINE+))

RECVLINE-SHARED-BUF (CON DONE &OPTIONAL (DELIMITER +NEWLINE+))

REPORT-ERROR (ERR &KEY (STREAM *ERROR-OUTPUT*))

REPORT-UNLESS-NORMAL-CONNECTION-ERROR (E)

RESET-TIMEOUT (CON &OPTIONAL DELAY)

SAFELY-LOAD-SYSTEM (&KEY (SYSTEM 'TEEPEEDEE2))

SEND (CON DONE SENDBUF)

SEND-HTTP-RESPONSE (CON DONE BODY)

SENDBUF-ADD (SENDBUF X)

SENDBUF-EMPTY (SENDBUF)

SETFSENDBUF-LEN (NEW-VALUE INSTANCE)

SENDBUF-TO-BYTE-VECTOR (SENDBUF)

SEPARATE-DECLARATIONS (DECLARATIONS-AND-BODY)

SEPARATE-KEYWORDS (ARGLIST)

SERVESTATE-ORIGIN*

SETFSERVESTATE-ORIGIN* (V38)

START-HTTP-RESPONSE (&KEY (BANNER (FORCE-BYTE-VECTOR 200 OK)) (CONTENT-TYPE #(67 111 110 116 101 110 116 45 84 121 112 101 58 32 116 101 120 116 47 104 116 109 108 59 99 104 97 114 115 101 116 61 117 116 102 45 56 13 10)))

STRCAT (&REST ARGS)

SUPERQUOTE-FUNCTION (FORM)

TIMEOUT-CANCEL (TIMEOUT)

SETFTIMEOUT-FUNC (NEW-VALUE INSTANCE)

TIMEOUT-REMAINING (TIMEOUT)

TIMEOUT-SET (TIMEOUT DELAY &OPTIONAL FUNC)

UNQUOTE-QUOTED-SYMBOL (FUNC)

UTF8-DECODE (VEC)

UTF8-ENCODE (STR)

WEBAPP-DEFAULT-PAGE-HEAD-CONTENTS

WEBAPP-FRAME (&REST ARGS-FOR-MAKE-FRAME)

WEBAPP-FRAME-VAR (ID &OPTIONAL DEFAULT)

SETFWEBAPP-FRAME-VAR (VAL ID &OPTIONAL DEFAULT)

WEBAPP-RESPOND-AJAX-BODY

MACRO

Public

DEFINE-CONSTANT (NAME INITIAL-VALUE &KEY (TEST ''EQL) DOCUMENTATION)

Ensures that the global variable named by NAME is a constant with a value that is equal under TEST to the result of evaluating INITIAL-VALUE. TEST is a /function designator/ that defaults to EQL. If DOCUMENTATION is given, it becomes the documentation string of the constant. Signals an error if NAME is already a bound non-constant variable. Signals an error if NAME is already a constant variable whose value is not equal under TEST to result of evaluating INITIAL-VALUE.

IF-MATCH-BIND (BINDINGS STRING &OPTIONAL (THEN T) (ELSE NIL))

Perform a match bind, but return ELSE on failure instead of raising match-failed

MATCH-BIND (BINDINGS STRING &BODY BODY)

Try to parse STRING according to BINDINGS. If successful, execute BODY. Otherwise raise match-failed

MATCH-REPLACE-ALL (STRING &BODY MATCH-REPLACEMENTS)

For each (match replacment) in MATCH-REPLACEMENTS replace each value of match with the value of replacement in STRING

MATCH-REPLACE-ONE (STRING &BODY MATCH-REPLACEMENTS)

As match-replace-all but at most one replacement is made

MY-CALL

Inside a my-defun, #'my-call is the function call again

WITH-CALL/CC (&BODY BODY &ENVIRONMENT ENV)

Gives access to CALL/CC by transforming BODY to continuation passing style.

WITH-UNIQUE-NAMES (NAMES &BODY FORMS)

Alias for WITH-GENSYMS.

Undocumented

ACOND (&REST CLAUSES)

ADOLIST (LIST &BODY BODY)

AIF (TEST THEN &OPTIONAL ELSE)

APPENDF (PLACE &REST LISTS &ENVIRONMENT ENV)

AWHEN (TEST &BODY BODY)

CASE-= (KEYFORM &REST CLAUSES)

CASE-EQUALP (KEYFORM &REST CLAUSES)

CASE-MATCH-FOLD-ASCII-CASE (KEYFORM &REST CLAUSES)

CHECK-SYMBOLS (&REST NAMES)

CURRENT-SITE

DEBUG-ASSERT (TEST-FORM &OPTIONAL PLACES DATUM &REST ARGUMENTS)

DEBUG-UNREACHABLE

DECLAIM-DEFUN-CONSISTENT-FTYPE (NAME INPUT-TYPE OUTPUT-TYPE)

DEF-IF-UNBOUND (DEF NAME ARGS &BODY BODY)

DEFCONSTANT-BV (NAME VALUE &OPTIONAL DOCUMENTATION)

DEFCONSTANT-STRING (NAME VALUE &OPTIONAL DOCUMENTATION)

DEFMYCLASS (NAME-AND-OPTIONS &REST SLOTS)

DEFMYSTRUCT (NAME-AND-OPTIONS &REST SLOTS)

DEFPAGE (PATH DEFAULTING-LAMBDA-LIST &BODY BODY)

DEFPAGE-LAMBDA (PATH FUNCTION &KEY DEFAULTING-LAMBDA-LIST (CREATE-FRAME T))

DEFPROTOCOL (NAME (CON-VAR &REST ARGS) &BODY BODY)

DEFSITE (NAME &REST ARGS-FOR-MAKE-SITE)

DEFUN-CAREFUL (NAME LAMBDA-LIST &BODY BODY)

DEFUN-CONSISTENT (NAME LAMBDA-LIST &BODY BODY)

DEFUN-SPEEDY (NAME LAMBDA-LIST &BODY BODY)

DELETEF (ITEM PLACE &REST MISC-ARGS)

DOHASH ((KEY VALUE TABLE &OPTIONAL (RESULT-FORM NIL)) &BODY BODY)

EVAL-ALWAYS (&BODY BODY)

HTML-ACTION-FORM (TITLE-AND-OPTIONS LAMBDA-LIST &BODY BODY)

HTML-ACTION-FORM-COLLAPSED (TITLE LAMBDA-LIST &BODY BODY)

HTML-COLLAPSER (TOGGLE &BODY BODY)

HTML-JIGGLE-TEXT (TEXT)

IGNORABLE-LET (LET-NAME BINDINGS &BODY BODY)

IO (FUNC CON-VAR &REST ARGS &ENVIRONMENT ENV)

ITS (FUNC INSTANCE &REST ARGS &ENVIRONMENT ENV)

LAUNCH-IO (FUNC CON-VAR &REST ARGS)

LET-CURRENT-VALUES (VARS &BODY BODY)

MATCH-SPLIT (PATTERN STRING)

MY-DEFUN (CLASS FUNC LAMBDA-LIST &BODY BODY)

ONCE-ONLY ((&REST NAMES-AND-DECLS) &BODY BODY)

READ-ONLY-LOAD-TIME-VALUE (FORM)

SIGNAL-PROTECT (PROTECTED &BODY CLEANUP)

SUPERQUOTE (FORM &ENVIRONMENT ENV)

UNQUOTE (FORM)

UNQUOTE-SPLICE (FORM)

WEBAPP (TITLE-AND-OPTIONS &BODY BODY)

WEBAPP-DISPLAY (OBJECT)

WEBAPP-SECTION (TITLE &BODY BODY)

WEBAPP-SELECT-ONE (TITLE LIST-GENERATION-FORM &KEY ACTION REPLACE DISPLAY (DESCRIBE '(LAMBDA (X) (DECLARE (IGNORE X)))))

WITH-COMPILE-TIME-SITE ((&OPTIONAL (SITE (SITE-RUNTIME-NAME *CURRENT-SITE*))) &BODY BODY)

WITH-HTTP-HEADERS (NIL &BODY BODY)

WITH-HTTP-PARAMS (BINDINGS &BODY BODY)

WITH-IGNORED-ERRORS ((&OPTIONAL (REPORT-FUNCTION ''BACKTRACE-DESCRIPTION)) &BODY BODY)

WITH-INDEPENDENT-EVENT-LOOP (NIL &BODY BODY)

WITH-INDEPENDENT-TIMEOUTS (NIL &BODY BODY)

WITH-ITS-TYPE ((INSTANCE TYPE) &BODY BODY)

WITH-JOIN-SPAWN/CC ((&OPTIONAL (NAME (GENSYM join))) &BODY BODY)

WITH-POINTER-TO-VECTOR-DATA ((PTR LISP-VECTOR) &BODY BODY)

WITH-PRESERVE-SPECIALS (SPECIALS &BODY BODY)

WITH-SENDBUF ((&OPTIONAL (VAR (GENSYM sendbuf))) &BODY BODY)

WITH-SENDBUF-CONTINUE ((VAR) &BODY BODY &ENVIRONMENT ENV)

WITH-SHORTHAND-ACCESSOR ((ACCESSOR CLASS &OPTIONAL (INSTANCE CLASS)) &BODY BODY)

WITH-SITE ((SITE) &BODY BODY)

WITHOUT-CALL/CC (&BODY BODY)

GENERIC-FUNCTION

Public

Undocumented

ASSIGN (ORIGINAL COPY)

CHANNEL-UPDATE (CHANNEL SUBSCRIBER-STATE)

COPY (ORIGINAL)

SIMPLE-CHANNEL-BODY-ML (SIMPLE-CHANNEL)

SOCKET-ONLY-ACCEPT-IF-DATA-READY (SOCKET TIMEOUT)

SOCKET-SHUTDOWN-WRITE (SOCKET)

SLOT-ACCESSOR

Public

Undocumented

FRAME-DESTROY-HOOKS (OBJECT)

SETFFRAME-DESTROY-HOOKS (NEW-VALUE OBJECT)

FRAME-TRACE-INFO (OBJECT)

SETFFRAME-TRACE-INFO (NEW-VALUE OBJECT)

FRAME-USERNAME (OBJECT)

SETFFRAME-USERNAME (NEW-VALUE OBJECT)

VARIABLE

Public

Undocumented

*DEFAULT-DISPATCHER*

*DEFAULT-SITE*

CLASS

Public

Undocumented

CHANNEL

FRAME

LIST-CHANNEL

MESSAGE-CHANNEL

SENDBUF

SIMPLE-CHANNEL

CONDITION

Public

MATCH-FAILED

Raised when the bindings in a match-bind do not match the target string

Undocumented

PROTOCOL-ERROR

SOCKET-CLOSED

CONSTANT

Public

Undocumented

+HTML-CLASS-SCROLL-TO-BOTTOM+

+HTML-ID-ASYNC-STATUS+

+NEWLINE+

+SOCK_DGRAM+

+SOCK_STREAM+