;;; -*-Scheme-*-
;;;
-;;; $Id: imail-imap.scm,v 1.25 2000/05/10 17:03:21 cph Exp $
+;;; $Id: imail-imap.scm,v 1.26 2000/05/10 17:05:24 cph Exp $
;;;
;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
;;;
;; Unique ID specifying a message. Ignored.
(uid define accessor))
-(define (make-rmail-url user-id auth-type host port mailbox uid)
- (save-url (%make-rmail-url user-id auth-type host port mailbox uid)))
+(define (make-imap-url user-id auth-type host port mailbox uid)
+ (save-url (%make-imap-url user-id auth-type host port mailbox uid)))
(define-url-protocol "imap" <imap-url>
(let ((//server/
;;; -*-Scheme-*-
;;;
-;;; $Id: imail-umail.scm,v 1.17 2000/05/08 19:07:54 cph Exp $
+;;; $Id: imail-umail.scm,v 1.18 2000/05/10 17:03:30 cph Exp $
;;;
;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
;;;
(define-class <umail-url> (<file-url>))
-(define make-umail-url
+(define-url-protocol "umail" <umail-url>
+ (lambda (string)
+ (%make-umail-url (short-name->pathname string))))
+
+(define (make-umail-url pathname)
+ (save-url (%make-umail-url pathname)))
+
+(define %make-umail-url
(let ((constructor (instance-constructor <umail-url> '(PATHNAME))))
(lambda (pathname)
(constructor (merge-pathnames pathname)))))
-(define-url-protocol "umail" <umail-url>
- (lambda (string)
- (make-umail-url (short-name->pathname string))))
-
;;;; Server operations
(define-method %open-folder ((url <umail-url>))