Mercurial > hg > mlmmj
annotate include/prepstdreply.h @ 741:b72bcb7e08a2
Arbitrary headers in listtexts, fix default Content-Transfer-Encoding: header,
and document \uNNNN substitution
Also, the interface to prepstdreply() has changed; there is no longer a
customheaders argument, which was never used anyway, and is now essentially
redundant due to this patch.
author | Ben Schmidt |
---|---|
date | Mon, 20 Sep 2010 01:44:58 +1000 |
parents | c26e97a2207b |
children | b00eb39643c1 |
rev | line source |
---|---|
188 | 1 /* Copyright (C) 2004 Mads Martin Joergensen <mmj at mmj.dk> |
2 * | |
3 * $Id$ | |
4 * | |
225 | 5 * Permission is hereby granted, free of charge, to any person obtaining a copy |
6 * of this software and associated documentation files (the "Software"), to | |
7 * deal in the Software without restriction, including without limitation the | |
8 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | |
9 * sell copies of the Software, and to permit persons to whom the Software is | |
10 * furnished to do so, subject to the following conditions: | |
11 * | |
12 * The above copyright notice and this permission notice shall be included in | |
13 * all copies or substantial portions of the Software. | |
14 * | |
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
18 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | |
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS | |
21 * IN THE SOFTWARE. | |
188 | 22 */ |
23 | |
24 #ifndef PREPSTDREPLY_H | |
25 #define PREPSTDREPLY_H | |
26 | |
520 | 27 char *substitute(const char *line, const char *listaddr, const char *listdelim, |
660
c26e97a2207b
Added support for the 'originalmail' keyword (Sascha Sommer)
mortenp
parents:
652
diff
changeset
|
28 size_t datacount, char **data, const char* mailname); |
520 | 29 char *substitute_one(const char *line, const char *listaddr, |
660
c26e97a2207b
Added support for the 'originalmail' keyword (Sascha Sommer)
mortenp
parents:
652
diff
changeset
|
30 const char *listdelim, size_t datacount, char **data, |
c26e97a2207b
Added support for the 'originalmail' keyword (Sascha Sommer)
mortenp
parents:
652
diff
changeset
|
31 const char* mailname); |
652 | 32 int open_listtext(const char *listdir, const char *filename); |
188 | 33 char *prepstdreply(const char *listdir, const char *filename, const char *from, |
660
c26e97a2207b
Added support for the 'originalmail' keyword (Sascha Sommer)
mortenp
parents:
652
diff
changeset
|
34 const char *to, const char *replyto, size_t tokencount, |
741
b72bcb7e08a2
Arbitrary headers in listtexts, fix default Content-Transfer-Encoding: header,
Ben Schmidt
parents:
660
diff
changeset
|
35 char **data, const char *mailname); |
188 | 36 |
37 #endif /* PREPSTDREPLY_H */ |