;;; -*-Scheme-*-
;;;
-;;; $Id: imail.pkg,v 1.27 2000/05/08 14:02:46 cph Exp $
+;;; $Id: imail.pkg,v 1.28 2000/05/08 15:04:42 cph Exp $
;;;
;;; Copyright (c) 2000 Massachusetts Institute of Technology
;;;
imap:response:expunge-index
imap:response:expunge?
imap:response:fetch-attribute
+ imap:response:fetch-attribute-keywords
imap:response:fetch-index
imap:response:fetch?
imap:response:flags
;;; -*-Scheme-*-
;;;
-;;; $Id: imap-response.scm,v 1.12 2000/05/08 13:56:33 cph Exp $
+;;; $Id: imap-response.scm,v 1.13 2000/05/08 15:04:44 cph Exp $
;;;
;;; Copyright (c) 2000 Massachusetts Institute of Technology
;;;
((PREAUTH BYE) (cdr response))
(else (error:bad-range-argument response 'IMAP:RESPONSE:RESPONSE-TEXT))))
+(define (imap:response:fetch-attribute-keywords response)
+ (map car (cddr response)))
+
(define (imap:response:fetch-attribute response keyword)
(let ((entry (assq keyword (cddr response))))
(if (not entry)