Mercurial > hg > mlmmj
diff 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 |
line wrap: on
line diff
--- a/include/prepstdreply.h Wed Oct 06 23:26:26 2010 +1100 +++ b/include/prepstdreply.h Wed Oct 06 23:30:26 2010 +1100 @@ -25,9 +25,9 @@ #define PREPSTDREPLY_H char *substitute(const char *line, const char *listaddr, const char *listdelim, - size_t datacount, char **data); + size_t datacount, char **data, const char *listdir); char *substitute_one(const char *line, const char *listaddr, - const char *listdelim, size_t datacount, char **data); + const char *listdelim, size_t datacount, char **data, const char *listdir); int open_listtext(const char *listdir, const char *filename); char *prepstdreply(const char *listdir, const char *filename, const char *from, const char *to, const char *replyto, size_t tokencount,