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 */
30 * Message Reply control structure
32 typedef struct reply_s
{
33 unsigned int pseudo
: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 */
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 */
54 * Flag definitions to help control reply header building
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
71 * Flag definitions to control composition of forwarded subject
74 #define FS_CONVERT_QUOTES 1
77 /* exported protoypes */
80 #endif /* PITH_REPLTYPE_INCLUDED */