Searched refs:attachments (Results 1 - 4 of 4) sorted by relevance
/ast/src/cmd/mailx/ |
H A D | imap.c | 141 int attachments; /* attachment count */ member in struct:__anon125 1008 sfprintf(imap->tp, "%d.att", ((Imapmsg_t*)mp->m_info)->attachments + 1); 1017 pp->attachment = ++((Imapmsg_t*)mp->m_info)->attachments; 2166 if (state.var.attachments && name == pp->name) 2168 sfprintf(state.path.temp, "%s/%s", state.var.attachments, name); 2265 if (!ip->attachments || !(pp = ip->parts)) 2267 note(ERROR, "No attachments in current message"); 2278 if (!(a = newof(0, char, ip->attachments, 1))) 2279 note(PANIC, "Out of space [imap attachments]"); 2297 for (i = r; i <= ip->attachments; [all...] |
H A D | cmd2.c | 613 if (state.var.attachments) { 614 sfprintf(state.path.temp, "%s/%s", state.var.attachments, name); 710 note(0, "No attachments in current message");
|
H A D | data.c | 127 X("[ attachment [ file ... ] ]\nCopy the attachments in the attachment number list from the current message into file. If file is omitted then the file name from the message attachment line is used. If the content type matches an entry in ${MAILCAP} then the corresponding command is executed. If all arguments are omitted then list the attachment summary for the current message. Valid only after a print or type command has been issued on the current message. A file name of - lists the contents on the standard output. A directory file argument copies the attachment to that directory."), 163 X("[ pattern [;] [ command ] | < file ]\nDeclare a command to be executed by the get command for attachments whose content type matches pattern. If pattern does not contain `/' then it is treated as `pattern/*'; `/*' is the only recognized metacharacter sequence. If command is omitted and `;' is not the command for pattern is deleted, otherwise if `;' is omitted the command for pattern is listed. If command is omitted then all capabilities matching pattern are listed. < file reads mailcap entries from file. Default capabilities are initialized from ${MAILCAP}. `#' is the comment character and `\\' escapes the special meaning of `;', `\\', and <newline>. `%s' in command expands to the attachment file name, `%t' expands to the content type, `%{name}' expands to the value of the name option in the content type header. If `%s' is omitted then attachment is piped to command."), 342 "attachments", &state.var.attachments, 0, 0,0,
|
H A D | mailx.h | 787 char* attachments; member in struct:__anon136::__anon147
|
Completed in 26 milliseconds