r8231: add support for maps
[wol.git] / classes.lisp
index 2a49ec1d3f0cd5947e009ad2159cff6ac394554b..a11e8886abb3d729af6cdafa450dd6fce9b251e5 100644 (file)
@@ -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))