* moved files concerning web server to new subdirectory httpd
* minor change in inner order of modules.scm * commented out structure in program-modules: source files are missing (?)
This commit is contained in:
parent
efedbd4620
commit
3573dcc613
97
modules.scm
97
modules.scm
|
@ -85,6 +85,45 @@
|
||||||
scheme)
|
scheme)
|
||||||
(files ecm-utilities))
|
(files ecm-utilities))
|
||||||
|
|
||||||
|
|
||||||
|
;;; parse-html-forms
|
||||||
|
;;; For parsing submissions from HTML forms.
|
||||||
|
|
||||||
|
(define-interface parse-html-forms-interface
|
||||||
|
(export parse-html-form-query unescape-uri+))
|
||||||
|
|
||||||
|
(define-structure parse-html-forms parse-html-forms-interface
|
||||||
|
(open scsh
|
||||||
|
scsh-utilities
|
||||||
|
let-opt
|
||||||
|
string-lib
|
||||||
|
receiving
|
||||||
|
uri
|
||||||
|
scheme)
|
||||||
|
(files parse-forms))
|
||||||
|
|
||||||
|
|
||||||
|
;;; htmlout
|
||||||
|
|
||||||
|
(define-interface htmlout-interface
|
||||||
|
(export emit-tag
|
||||||
|
emit-close-tag
|
||||||
|
|
||||||
|
emit-p
|
||||||
|
emit-title
|
||||||
|
emit-header ; And so forth...
|
||||||
|
|
||||||
|
with-tag
|
||||||
|
with-tag*
|
||||||
|
|
||||||
|
escape-html
|
||||||
|
emit-text))
|
||||||
|
|
||||||
|
(define-structure htmlout htmlout-interface
|
||||||
|
(open scsh scsh-utilities string-lib formats ascii receiving scheme)
|
||||||
|
(files htmlout))
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;;; Clients / RFC
|
;;; Clients / RFC
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
@ -555,7 +594,7 @@
|
||||||
string-lib ; STRING-JOIN
|
string-lib ; STRING-JOIN
|
||||||
i/o ; make-null-output-port
|
i/o ; make-null-output-port
|
||||||
scheme)
|
scheme)
|
||||||
(files httpd-core))
|
(files (httpd httpd-core)))
|
||||||
|
|
||||||
|
|
||||||
;;; httpd-make-options
|
;;; httpd-make-options
|
||||||
|
@ -587,7 +626,7 @@
|
||||||
(httpd-read-options httpd-read-options-interface))
|
(httpd-read-options httpd-read-options-interface))
|
||||||
(open scheme
|
(open scheme
|
||||||
define-record-types)
|
define-record-types)
|
||||||
(files httpd-options))
|
(files (httpd httpd-options)))
|
||||||
|
|
||||||
|
|
||||||
;;; httpd-access-control
|
;;; httpd-access-control
|
||||||
|
@ -605,7 +644,7 @@
|
||||||
string-lib ; STRING-MAP
|
string-lib ; STRING-MAP
|
||||||
scsh
|
scsh
|
||||||
scheme)
|
scheme)
|
||||||
(files httpd-access-control))
|
(files (httpd httpd-access-control)))
|
||||||
|
|
||||||
|
|
||||||
;;; httpd-error
|
;;; httpd-error
|
||||||
|
@ -618,7 +657,7 @@
|
||||||
|
|
||||||
(define-structure httpd-error httpd-error-interface
|
(define-structure httpd-error httpd-error-interface
|
||||||
(open conditions signals handle scheme)
|
(open conditions signals handle scheme)
|
||||||
(files httpd-error))
|
(files (httpd httpd-error)))
|
||||||
|
|
||||||
;;; httpd-fatal-error
|
;;; httpd-fatal-error
|
||||||
|
|
||||||
|
@ -628,45 +667,7 @@
|
||||||
|
|
||||||
(define-structure handle-fatal-error handle-fatal-error-interface
|
(define-structure handle-fatal-error handle-fatal-error-interface
|
||||||
(open scheme conditions handle)
|
(open scheme conditions handle)
|
||||||
(files handle-fatal-error))
|
(files (httpd handle-fatal-error)))
|
||||||
|
|
||||||
|
|
||||||
;;; parse-html-forms
|
|
||||||
;;; For parsing submissions from HTML forms.
|
|
||||||
|
|
||||||
(define-interface parse-html-forms-interface
|
|
||||||
(export parse-html-form-query unescape-uri+))
|
|
||||||
|
|
||||||
(define-structure parse-html-forms parse-html-forms-interface
|
|
||||||
(open scsh
|
|
||||||
scsh-utilities
|
|
||||||
let-opt
|
|
||||||
string-lib
|
|
||||||
receiving
|
|
||||||
uri
|
|
||||||
scheme)
|
|
||||||
(files parse-forms))
|
|
||||||
|
|
||||||
|
|
||||||
;;; htmlout
|
|
||||||
|
|
||||||
(define-interface htmlout-interface
|
|
||||||
(export emit-tag
|
|
||||||
emit-close-tag
|
|
||||||
|
|
||||||
emit-p
|
|
||||||
emit-title
|
|
||||||
emit-header ; And so forth...
|
|
||||||
|
|
||||||
with-tag
|
|
||||||
with-tag*
|
|
||||||
|
|
||||||
escape-html
|
|
||||||
emit-text))
|
|
||||||
|
|
||||||
(define-structure htmlout htmlout-interface
|
|
||||||
(open scsh scsh-utilities string-lib formats ascii receiving scheme)
|
|
||||||
(files htmlout))
|
|
||||||
|
|
||||||
|
|
||||||
;; path-handlers
|
;; path-handlers
|
||||||
|
@ -701,7 +702,7 @@
|
||||||
handle-fatal-error ; WITH-FATAL-ERROR-HANDLER
|
handle-fatal-error ; WITH-FATAL-ERROR-HANDLER
|
||||||
string-lib ; STRING-JOIN
|
string-lib ; STRING-JOIN
|
||||||
scheme)
|
scheme)
|
||||||
(files httpd-handlers))
|
(files (httpd httpd-handlers)))
|
||||||
|
|
||||||
|
|
||||||
;;; seval-handler
|
;;; seval-handler
|
||||||
|
@ -725,7 +726,7 @@
|
||||||
parse-html-forms ; PARSE-HTML-FORM-QUERY
|
parse-html-forms ; PARSE-HTML-FORM-QUERY
|
||||||
threads ; SLEEP
|
threads ; SLEEP
|
||||||
scheme)
|
scheme)
|
||||||
(files seval))
|
(files (httpd seval)))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -748,7 +749,7 @@
|
||||||
scsh
|
scsh
|
||||||
handle-fatal-error
|
handle-fatal-error
|
||||||
scheme)
|
scheme)
|
||||||
(files info-gateway))
|
(files (httpd info-gateway)))
|
||||||
|
|
||||||
|
|
||||||
;;; rman-gateway
|
;;; rman-gateway
|
||||||
|
@ -776,7 +777,7 @@
|
||||||
let-opt
|
let-opt
|
||||||
string-lib
|
string-lib
|
||||||
scheme)
|
scheme)
|
||||||
(files rman-gateway))
|
(files (httpd rman-gateway)))
|
||||||
|
|
||||||
|
|
||||||
;;; CGI Server
|
;;; CGI Server
|
||||||
|
@ -803,7 +804,7 @@
|
||||||
sunet-utilities ; host-name-or-empty
|
sunet-utilities ; host-name-or-empty
|
||||||
let-opt ; let-optionals
|
let-opt ; let-optionals
|
||||||
scheme)
|
scheme)
|
||||||
(files cgi-server))
|
(files (httpd cgi-server)))
|
||||||
|
|
||||||
|
|
||||||
;;; FTP server: ftpd
|
;;; FTP server: ftpd
|
||||||
|
|
|
@ -18,27 +18,31 @@
|
||||||
condhax ; ? is COND
|
condhax ; ? is COND
|
||||||
switch-syntax ; SWITCHQ
|
switch-syntax ; SWITCHQ
|
||||||
scheme)
|
scheme)
|
||||||
(files scheme-program-server))
|
(files (httpd scheme-program-server)))
|
||||||
|
|
||||||
;;; package to load scheme programs
|
;;; package to load scheme programs
|
||||||
|
|
||||||
(define-structure scheme-programs-package (export testprog
|
;;
|
||||||
info2www)
|
;; source files are missing!?
|
||||||
(open scsh ; syscalls & INDEX
|
;;
|
||||||
condhax ; WHEN, ? for COND
|
|
||||||
switch-syntax ; Conditionals
|
;;; cheme-programs-package (export testprog
|
||||||
defrec-package ; Records
|
;;; info2www)
|
||||||
htmlout-package ; Formatted HTML output
|
;;; ; syscalls & INDEX
|
||||||
httpd-core ; REQUEST record type, HTTP-ERROR & reply codes
|
;;; ; WHEN, ? for COND
|
||||||
; version stuff
|
;;; ax ; Conditionals
|
||||||
uri-package ; UNESCAPE-URI
|
;;; age ; Records
|
||||||
error-package ; ERROR
|
;;; kage ; Formatted HTML output
|
||||||
pp ; Pretty-printer
|
;;; ; REQUEST record type, HTTP-ERROR & reply codes
|
||||||
strings rfc822
|
;;; ; version stuff
|
||||||
toothless-eval ; EVAL-SAFELY
|
;;; ; UNESCAPE-URI
|
||||||
handle ; IGNORE-ERROR
|
;;; ge ; ERROR
|
||||||
strings ; SKIP-WHITESPACE
|
;;; ; Pretty-printer
|
||||||
parse-html-forms ; PARSE-HTML-FORM-QUERY
|
;;; 822
|
||||||
scheme)
|
;;; val ; EVAL-SAFELY
|
||||||
(files testprog
|
;;; ; IGNORE-ERROR
|
||||||
info2www))
|
;;; ; SKIP-WHITESPACE
|
||||||
|
;;; forms ; PARSE-HTML-FORM-QUERY
|
||||||
|
;;;
|
||||||
|
;;;
|
||||||
|
;;;
|
Loading…
Reference in New Issue