em_format_add_puri —
EMFormatPURI * em_format_add_puri ( | emf, | |
| size, | ||
| cid, | ||
| part, | ||
func); |
| EMFormat * | emf; |
| size_t | size; |
| const char * | cid; |
| CamelMimePart * | part; |
| EMFormatPURIFunc | func; |
Add a pending-uri handler. When formatting parts that reference other parts, a pending-uri (PURI) can be used to track the reference.
size is used to allocate the structure, so that it can be directly subclassed by implementors.
cid can be used to override the key used to retreive the PURI, if NULL, then the content-location and the content-id of the part are stored as lookup keys for the part.