* SMIME: Change the default signature digest from sha1 to sha-256,
[alpine.git] / pith / repltype.h
blobb4ccbf4698be1d3e66ee8cddc4f0c2f6d74c82e4
1 /*
2 * $Id: repltype.h 769 2007-10-24 00:15:40Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2006 University of Washington
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * ========================================================================
16 #ifndef PITH_REPLTYPE_INCLUDED
17 #define PITH_REPLTYPE_INCLUDED
21 * Cursor position when resuming postponed message.
23 typedef struct redraft_pos_s {
24 char *hdrname; /* header field name, : if in body */
25 long offset; /* offset into header or body */
26 } REDRAFT_POS_S;
30 * Message Reply control structure
32 typedef struct reply_s {
33 unsigned int pseudo:1;
34 unsigned int forw:1;
35 unsigned int msgno:1;
36 unsigned int uid:1;
37 unsigned int forwarded:1;
38 char *mailbox; /* mailbox handles are valid in */
39 char *origmbox; /* above is canonical name, this is orig */
40 char *prefix; /* string to prepend reply-to text */
41 char *orig_charset;
42 union {
43 long pico_flags; /* Flags to manage pico initialization */
44 struct { /* UID information */
45 imapuid_t validity; /* validity token */
46 imapuid_t *msgs; /* array of reply'd to msgs */
47 } uid;
48 } data;
49 } REPLY_S;
54 * Flag definitions to help control reply header building
56 #define RSF_NONE 0x00
57 #define RSF_FORCE_REPLY_TO 0x01
58 #define RSF_QUERY_REPLY_ALL 0x02
59 #define RSF_FORCE_REPLY_ALL 0x04
63 * Flag definitions to help build forwarded bodies
65 #define FWD_NONE 0
66 #define FWD_ANON 1
67 #define FWD_NESTED 2
71 * Flag definitions to control composition of forwarded subject
73 #define FS_NONE 0
74 #define FS_CONVERT_QUOTES 1
77 /* exported protoypes */
80 #endif /* PITH_REPLTYPE_INCLUDED */