r7061: initial property settings
[wol.git] / classes.lisp
index 965491eaf6a32677b1b1e5b0729fc5ac3e183b17..90b868b9e2379fddbc9e046c830e4ddfbc03b9db 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.6 2003/08/08 23:40:13 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file and Wol are Copyright (c) 2001-2003 by Kevin M. Rosenberg
 ;;;; *************************************************************************
@@ -70,9 +70,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 +89,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))
 
@@ -100,3 +101,6 @@ x;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; Package: wol -*-
   "The output stream for the current request")
 
 (defconstant +length-session-id+ 24)
+
+(defvar *req* nil "Current request")
+(defvar *ent* nil "Current entity")