X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=classes.lisp;h=a11e8886abb3d729af6cdafa450dd6fce9b251e5;hb=3e423cb89e5838ab11edb6f128331ebbc8b85f4e;hp=2a49ec1d3f0cd5947e009ad2159cff6ac394554b;hpb=fe6fd1cd39dd145adb1c479cab619a2ce6d1c3eb;p=wol.git diff --git a/classes.lisp b/classes.lisp index 2a49ec1..a11e888 100644 --- a/classes.lisp +++ b/classes.lisp @@ -1,4 +1,4 @@ -x;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: wol -*- +;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: wol -*- ;;;; ************************************************************************* ;;;; FILE IDENTIFICATION ;;;; @@ -7,7 +7,7 @@ x;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: wol -*- ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: July 2003 ;;;; -;;;; $Id: classes.lisp,v 1.7 2003/08/10 07:38:37 kevin Exp $ +;;;; $Id$ ;;;; ;;;; This file and Wol are Copyright (c) 2001-2003 by Kevin M. Rosenberg ;;;; ************************************************************************* @@ -48,6 +48,8 @@ x;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: wol -*- (defclass entity () ((project :initarg :project :accessor entity-project) + (generators :initarg :generators :accessor entity-generators + :documentation "List of waiting page generators") (aserve-entity :initarg :aserve-entity :initform nil :accessor entity-aserve-entity))) @@ -70,9 +72,10 @@ x;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: wol -*- (posted-content :initarg :posted-content :accessor request-posted-content) (headers :initarg :headers :accessor request-headers) (page :initarg :page :initform nil :accessor request-page) + (url-plist :initarg :url-plist :initform nil :accessor request-url-plist) (plist :initarg :plist :initform nil :accessor request-plist) - (next-plists :initarg :next-plists :initform nil - :accessor request-next-plists) + (url-next-plists :initarg :url-next-plists :initform nil + :accessor request-url-next-plists) (uri-query :initarg :uri-query :initform nil :accessor request-uri-query) (query-alist :initarg :query-alist :initform nil @@ -88,11 +91,11 @@ x;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: wol -*- (defvar *active-projects* (make-hash-table :test 'equal)) -(defvar +asp-header+ "lsp") -(defvar +full-asp-header+ "/lsp") +(eval-when (:compile-toplevel :load-toplevel :execute) + (defvar +plist-header+ "sdata" + "string that starts an encoded plist")) -(defvar +plist-header+ "/sdata" - "string that starts an encoded plist") +(defconstant +plist-header-length+ (length +plist-header+)) (defparameter *wol-version* '(0 1 0))