1 /* 2 * $Id: atttype.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $ 3 * 4 * ======================================================================== 5 * Copyright 2013-2021 Eduardo Chappa 6 * Copyright 2006 University of Washington 7 * 8 * Licensed under the Apache License, Version 2.0 (the "License"); 9 * you may not use this file except in compliance with the License. 10 * You may obtain a copy of the License at 11 * 12 * http://www.apache.org/licenses/LICENSE-2.0 13 * 14 * ======================================================================== 15 */ 16 17 #ifndef PITH_ATTTYPE_INCLUDED 18 #define PITH_ATTTYPE_INCLUDED 19 20 21 typedef struct attachment { 22 char *description; 23 BODY *body; 24 unsigned test_deferred:1; 25 unsigned can_display:4; 26 unsigned shown:1; 27 unsigned suppress_editorial:1; 28 char *cid_tmpfile; 29 char *tmpdir; 30 char *number; 31 char size[25]; 32 } ATTACH_S; 33 34 35 /* 36 * struct to help peruse a, possibly fragmented ala RFC 2231, parm list 37 */ 38 typedef struct parmlist { 39 PARAMETER *list, 40 *seen; 41 char attrib[32], 42 *value; 43 } PARMLIST_S; 44 45 46 /* exported prototypes */ 47 48 49 #endif /* PITH_ATTTYPE_INCLUDED */ 50