Mercurial > hg > mlmmj
comparison include/prepstdreply.h @ 754:ecb991e41a4c
Add $controlN$ substitution
The interfaces to substitute() and substitute_one() have changed, as they
now need to know the listdir to be able to find control files
author | Ben Schmidt |
---|---|
date | Wed, 06 Oct 2010 23:30:26 +1100 |
parents | b00eb39643c1 |
children | c3ee2bfaeb02 |
comparison
equal
deleted
inserted
replaced
753:b58fd7980358 | 754:ecb991e41a4c |
---|---|
23 | 23 |
24 #ifndef PREPSTDREPLY_H | 24 #ifndef PREPSTDREPLY_H |
25 #define PREPSTDREPLY_H | 25 #define PREPSTDREPLY_H |
26 | 26 |
27 char *substitute(const char *line, const char *listaddr, const char *listdelim, | 27 char *substitute(const char *line, const char *listaddr, const char *listdelim, |
28 size_t datacount, char **data); | 28 size_t datacount, char **data, const char *listdir); |
29 char *substitute_one(const char *line, const char *listaddr, | 29 char *substitute_one(const char *line, const char *listaddr, |
30 const char *listdelim, size_t datacount, char **data); | 30 const char *listdelim, size_t datacount, char **data, const char *listdir); |
31 int open_listtext(const char *listdir, const char *filename); | 31 int open_listtext(const char *listdir, const char *filename); |
32 char *prepstdreply(const char *listdir, const char *filename, const char *from, | 32 char *prepstdreply(const char *listdir, const char *filename, const char *from, |
33 const char *to, const char *replyto, size_t tokencount, | 33 const char *to, const char *replyto, size_t tokencount, |
34 char **data, const char *mailname); | 34 char **data, const char *mailname); |
35 | 35 |