diff options
author | Eduardo Chappa <echappa@gmx.com> | 2013-02-03 00:59:38 -0700 |
---|---|---|
committer | Eduardo Chappa <echappa@gmx.com> | 2013-02-03 00:59:38 -0700 |
commit | 094ca96844842928810f14844413109fc6cdd890 (patch) | |
tree | e60efbb980f38ba9308ccb4fb2b77b87bbc115f3 /pith/repltype.h | |
download | alpine-094ca96844842928810f14844413109fc6cdd890.tar.xz |
Initial Alpine Version
Diffstat (limited to 'pith/repltype.h')
-rw-r--r-- | pith/repltype.h | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/pith/repltype.h b/pith/repltype.h new file mode 100644 index 00000000..b4ccbf46 --- /dev/null +++ b/pith/repltype.h @@ -0,0 +1,80 @@ +/* + * $Id: repltype.h 769 2007-10-24 00:15:40Z hubert@u.washington.edu $ + * + * ======================================================================== + * Copyright 2006 University of Washington + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * ======================================================================== + */ + +#ifndef PITH_REPLTYPE_INCLUDED +#define PITH_REPLTYPE_INCLUDED + + +/* + * Cursor position when resuming postponed message. + */ +typedef struct redraft_pos_s { + char *hdrname; /* header field name, : if in body */ + long offset; /* offset into header or body */ +} REDRAFT_POS_S; + + +/* + * Message Reply control structure + */ +typedef struct reply_s { + unsigned int pseudo:1; + unsigned int forw:1; + unsigned int msgno:1; + unsigned int uid:1; + unsigned int forwarded:1; + char *mailbox; /* mailbox handles are valid in */ + char *origmbox; /* above is canonical name, this is orig */ + char *prefix; /* string to prepend reply-to text */ + char *orig_charset; + union { + long pico_flags; /* Flags to manage pico initialization */ + struct { /* UID information */ + imapuid_t validity; /* validity token */ + imapuid_t *msgs; /* array of reply'd to msgs */ + } uid; + } data; +} REPLY_S; + + + +/* + * Flag definitions to help control reply header building + */ +#define RSF_NONE 0x00 +#define RSF_FORCE_REPLY_TO 0x01 +#define RSF_QUERY_REPLY_ALL 0x02 +#define RSF_FORCE_REPLY_ALL 0x04 + + +/* + * Flag definitions to help build forwarded bodies + */ +#define FWD_NONE 0 +#define FWD_ANON 1 +#define FWD_NESTED 2 + + +/* + * Flag definitions to control composition of forwarded subject + */ +#define FS_NONE 0 +#define FS_CONVERT_QUOTES 1 + + +/* exported protoypes */ + + +#endif /* PITH_REPLTYPE_INCLUDED */ |