]> diplodocus.org Git - nmh/blob - sbr/fmt_addr.h
Improve fmttest output
[nmh] / sbr / fmt_addr.h
1 /* fmt_addr.h -- format an address field (from fmt_scan)
2 *
3 * This code is Copyright (c) 2017, by the authors of nmh. See the
4 * COPYRIGHT file in the root directory of the nmh distribution for
5 * complete copyright information. */
6
7 /*
8 * The implementation of the %(formataddr) function. This is available for
9 * programs to provide their own local implementation if they wish to do
10 * special processing (see uip/replsbr.c for an example). Arguments are:
11 *
12 * orig - Existing list of addresses
13 * str - New address(es) to append to list.
14 *
15 * This function returns an allocated string containing the new list of
16 * addresses.
17 */
18 char *formataddr(char *, char *);
19
20 /*
21 * The implementation of the %(concataddr) function. Arguments and behavior
22 * are the same as %(formataddr). Again, see uip/replsbr.c to see how you
23 * can override this behavior.
24 */
25 char *concataddr(char *, char *);