up
svn: r4679
This commit is contained in:
parent
c9fabb7568
commit
607362b87f
|
@ -61,8 +61,8 @@
|
|||
(open (new-config : web-config/local^)))))
|
||||
|
||||
(provide/contract
|
||||
[complete-configuration (path? configuration-table? . -> . configuration?)]
|
||||
[get-configuration (string? . -> . configuration-table?)]
|
||||
[complete-configuration (path-string? configuration-table? . -> . configuration?)]
|
||||
[get-configuration (path-string? . -> . configuration-table?)]
|
||||
; XXX contract
|
||||
[build-developer-configuration (list? . -> . configuration?)]
|
||||
; XXX contract
|
||||
|
@ -70,5 +70,5 @@
|
|||
[default-configuration-table-path path?]
|
||||
[update-configuration (configuration? (listof (cons/c symbol? any/c)) . -> . configuration?)]
|
||||
[load-configration-sexpr (list? . -> . configuration?)]
|
||||
[load-configuration (path? . -> . configuration?)]
|
||||
[load-developer-configuration (path? . -> . configuration?)]))
|
||||
[load-configuration (path-string? . -> . configuration?)]
|
||||
[load-developer-configuration (path-string? . -> . configuration?)]))
|
|
@ -36,11 +36,8 @@
|
|||
[struct host
|
||||
([indices (listof string?)]
|
||||
[log-format symbol?]
|
||||
[log-path (or/c false/c path? string?)]
|
||||
[passwords (or/c false/c path? string?)]
|
||||
#;[passwords (listof (cons/c string?
|
||||
(cons/c string?
|
||||
(listof (list/c symbol? string?)))))]
|
||||
[log-path (or/c false/c path-string?)]
|
||||
[passwords (or/c false/c path-string?)]
|
||||
[responders responders?]
|
||||
[timeouts timeouts?]
|
||||
[paths paths?])]
|
||||
|
|
|
@ -46,10 +46,10 @@
|
|||
[file-per-byte number?]
|
||||
[file-base number?])]
|
||||
[struct paths
|
||||
([conf (or/c false/c path? string?)]
|
||||
[host-base (or/c false/c path? string?)]
|
||||
[log (or/c false/c path? string?)]
|
||||
[htdocs (or/c false/c path? string?)]
|
||||
[servlet (or/c false/c path? string?)]
|
||||
[mime-types (or/c false/c path? string?)]
|
||||
[passwords (or/c false/c path? string?)])]))
|
||||
([conf (or/c false/c path-string?)]
|
||||
[host-base (or/c false/c path-string?)]
|
||||
[log (or/c false/c path-string?)]
|
||||
[htdocs (or/c false/c path-string?)]
|
||||
[servlet (or/c false/c path-string?)]
|
||||
[mime-types (or/c false/c path-string?)]
|
||||
[passwords (or/c false/c path-string?)])]))
|
||||
|
|
|
@ -58,6 +58,6 @@
|
|||
'truncate))
|
||||
|
||||
(provide/contract
|
||||
[write-configuration-table (configuration-table? (or/c path? string?) . -> . void)]
|
||||
[write-configuration-table (configuration-table? path-string? . -> . void)]
|
||||
[format-host (host-table? . -> . list?)]
|
||||
[write-to-file ((or/c path? string?) list? . -> . void)]))
|
||||
[write-to-file (path-string? list? . -> . void)]))
|
|
@ -224,8 +224,8 @@
|
|||
|
||||
(provide/contract
|
||||
[build-configuration (configuration-table? host-table? . -> . configuration?)]
|
||||
[complete-configuration (path? configuration-table? . -> . configuration?)]
|
||||
[complete-developer-configuration (path? configuration-table? . -> . configuration?)])
|
||||
[complete-configuration (path-string? configuration-table? . -> . configuration?)]
|
||||
[complete-developer-configuration (path-string? configuration-table? . -> . configuration?)])
|
||||
; XXX contract
|
||||
(provide
|
||||
complete-developer-configuration/vhosts)
|
||||
|
|
Loading…
Reference in New Issue
Block a user