"Internal method to verify multipart/signed."
(mime-raw-play-entity
;; entity-info of signature
- (mime-raw-entity-node-id-to-entity-info
+ (mime-raw-find-entity-from-node-id
;; entity-node-id of signature
(cons 1 (mime-raw-point-to-entity-node-id start)))
(cdr (assq 'mode cal)) ; play-mode
(1- knum)
(1+ knum)))
(raw-buf (current-buffer))
- (oinfo (mime-raw-entity-node-id-to-entity-info
+ (oinfo (mime-raw-find-entity-from-node-id
(cons onum mother-node-id) mime-raw-message-info))
(basename (expand-file-name "tm" mime-temp-directory))
(orig-file (make-temp-name basename))
(onum (if (> knum 0)
(1- knum)
(1+ knum)))
- (oinfo (mime-raw-entity-node-id-to-entity-info
+ (oinfo (mime-raw-find-entity-from-node-id
(cons onum mother-node-id) mime-raw-message-info))
(obeg (mime-entity-point-min oinfo))
(oend (mime-entity-point-max oinfo))
(defvar mime-raw-message-info
"Information about structure of message.
-Please use reference function `mime-entity-SLOT' to get value of
-SLOT.
+Please use reference function `mime-entity-SLOT' to get value of SLOT.
Following is a list of slots of the structure:
(or (eq media-subtype 'x-selection)
(and (eq media-subtype 'octet-stream)
(let ((mother-entity
- (mime-raw-entity-node-id-to-entity-info
+ (mime-raw-find-entity-from-node-id
(cdr entity-node-id) message-info)))
(and (eq (mime-entity-media-type mother-entity)
'multipart)
(let ((entity-node-id (mime-entity-node-id entity)))
(or (null entity-node-id)
(member (mime-entity-type/subtype
- (mime-raw-entity-node-id-to-entity-info
+ (mime-raw-find-entity-from-node-id
(cdr entity-node-id) message-info))
mime-view-childrens-header-showing-Content-Type-list)
)))
`mime-raw-message-info' is used."
(reverse (mime-raw-point-to-entity-number position message-info)))
-(defsubst mime-raw-entity-node-id-to-entity-info (entity-node-id
- &optional message-info)
+(defsubst mime-raw-find-entity-from-node-id (entity-node-id
+ &optional message-info)
"Return entity-info from ENTITY-NODE-ID in mime-raw-buffer.
If optional argument MESSAGE-INFO is not specified,
`mime-raw-message-info' is used."
(set-buffer a-buf)
(setq
ci
- (mime-raw-entity-node-id-to-entity-info
- entity-node-id))
+ (mime-raw-find-entity-from-node-id entity-node-id))
(save-restriction
(narrow-to-region
(mime-entity-point-min ci)
(get-text-property (point) 'mime-view-entity-info)))
(backward-char)
)
- (let ((r (mime-raw-entity-node-id-to-entity-info
+ (let ((r (mime-raw-find-entity-from-node-id
(cdr (mime-entity-node-id cinfo))
(get-text-property 1 'mime-view-entity-info)))
point)