]>
diplodocus.org Git - nmh/blob - sbr/fmt_addr.h
1 /* fmt_addr.h -- format an address field (from fmt_scan)
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. */
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:
12 * orig - Existing list of addresses
13 * str - New address(es) to append to list.
15 * This function returns an allocated string containing the new list of
18 char *formataddr(char *, char *);
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.
25 char *concataddr(char *, char *);