1 2 /* 3 * Privatizing the message header buffers is a first step towards 4 * making these dynamic strings... 5 */ 6 typedef struct send_header { 7 8 char subject[SLEN]; 9 10 char to[VERY_LONG_STRING]; 11 char cc[VERY_LONG_STRING]; 12 char bcc[VERY_LONG_STRING]; 13 char reply_to[SLEN]; 14 15 char expanded_bcc[VERY_LONG_STRING]; 16 char expanded_cc[VERY_LONG_STRING]; 17 char expanded_to[VERY_LONG_STRING]; 18 char expanded_reply_to[LONG_STRING]; 19 20 char in_reply_to[SLEN]; 21 char precedence[SLEN]; 22 char priority[SLEN]; 23 char action[SLEN]; 24 char user_defined_header[SLEN]; 25 26 } SEND_HEADER; 27 28 /* sndhdrs.c */ 29 SEND_HEADER *sndhdr_new P_((void)); 30 void sndhdr_destroy P_((SEND_HEADER *)); 31 int sndhdr_output P_((FILE *, const SEND_HEADER *, int, int)); 32 void generate_in_reply_to P_((SEND_HEADER *, int)); 33 34 /* editmsg.c */ 35 int edit_message P_((const char *, SEND_HEADER *, const char *)); 36 37 /* hdrconfg.c */ 38 void edit_headers P_((SEND_HEADER *)); 39 int show_msg_headers P_((const SEND_HEADER *, const char *)); 40 int edit_header_char P_((SEND_HEADER *, int)); 41 42 /* savecopy.c */ 43 int save_copy P_((const char *, const char *, const SEND_HEADER *, int)); 44 int save_mssg P_((const char *, const char *, const SEND_HEADER *, int)); 45 int name_copy_file P_((char *)); 46 47