adapt definitions of interfaces and structures to new URI

parsing framework
This commit is contained in:
vibr 2004-10-18 18:33:19 +00:00
parent ed1e4428c5
commit 69948e9561
1 changed files with 10 additions and 29 deletions

View File

@ -52,36 +52,21 @@
rfc822-time->string)) rfc822-time->string))
(define-interface uri-interface (define-interface uri-interface
(export uri-escaped-chars (export unescape
unescape-uri escape))
escape-uri
split-uri
uri-path->uri
simplify-uri-path))
(define-interface url-interface (define-interface url-interface
(export server? (export escaped
make-server
server-user
server-password
server-host
server-port
parse-server
server->string
http-url? http-url?
make-http-url make-http-url
http-url-host
http-url-server http-url-port
http-url-path http-url-path
http-url-search http-url-query
http-url-fragment-identifier
parse-http-url parse-http-url
parse-http-url-string http-url->uri-string))
http-url->string))
(define-interface ftp-library-interface (define-interface ftp-library-interface
(export copy-port->port-binary (export copy-port->port-binary
@ -473,19 +458,15 @@
(define-structure uri uri-interface (define-structure uri uri-interface
(open scheme-with-scsh (open scheme-with-scsh
(subset srfi-13 (string-index string-index-right string-fold string-join))
let-opt
receiving
ascii ascii
bitwise bitwise
field-reader-package) (subset url (escaped)))
(files (lib uri))) (files (lib uri)))
(define-structure url url-interface (define-structure url url-interface
(open scheme-with-scsh (open scheme-with-scsh
define-record-types define-record-types
receiving (subset srfi-1 (fold-right))
(subset srfi-13 (string-index))
uri uri
httpd-errors) httpd-errors)
(files (lib url))) (files (lib url)))