2 * $Id: repltype.h 769 2007-10-24 00:15:40Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2013-2022 Eduardo Chappa
6 * Copyright 2006 University of Washington
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
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef PITH_REPLTYPE_INCLUDED
18 #define PITH_REPLTYPE_INCLUDED
22 * Cursor position when resuming postponed message.
24 typedef struct redraft_pos_s
{
25 char *hdrname
; /* header field name, : if in body */
26 long offset
; /* offset into header or body */
31 * Message Reply control structure
33 typedef struct reply_s
{
34 unsigned int pseudo
:1;
38 unsigned int forwarded
:1;
39 char *mailbox
; /* mailbox handles are valid in */
40 char *origmbox
; /* above is canonical name, this is orig */
41 char *prefix
; /* string to prepend reply-to text */
44 long pico_flags
; /* Flags to manage pico initialization */
45 struct { /* UID information */
46 imapuid_t validity
; /* validity token */
47 imapuid_t
*msgs
; /* array of reply'd to msgs */
55 * Flag definitions to help control reply header building
58 #define RSF_FORCE_REPLY_TO 0x01
59 #define RSF_QUERY_REPLY_ALL 0x02
60 #define RSF_FORCE_REPLY_ALL 0x04
64 * Flag definitions to help build forwarded bodies
72 * Flag definitions to control composition of forwarded subject
75 #define FS_CONVERT_QUOTES 1
78 /* exported prototypes */
81 #endif /* PITH_REPLTYPE_INCLUDED */