Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / global / mail_pathname.c
blobb0ba34d466b7e65661102d86bd7128abf595d893
1 /* $NetBSD$ */
3 /*++
4 /* NAME
5 /* mail_pathname 3
6 /* SUMMARY
7 /* generate pathname from mailer service class and name
8 /* SYNOPSIS
9 /* #include <mail_proto.h>
11 /* char *mail_pathname(service_class, service_name)
12 /* char *service_class;
13 /* char *service_name;
14 /* DESCRIPTION
15 /* mail_pathname() translates the specified service class and name
16 /* to a pathname. The result should be passed to myfree() when it
17 /* no longer needed.
18 /* LICENSE
19 /* .ad
20 /* .fi
21 /* The Secure Mailer license must be distributed with this software.
22 /* AUTHOR(S)
23 /* Wietse Venema
24 /* IBM T.J. Watson Research
25 /* P.O. Box 704
26 /* Yorktown Heights, NY 10598, USA
27 /*--*/
29 /* System library. */
31 #include <sys_defs.h>
33 /* Utility library. */
35 #include <stringops.h>
37 /* Global library. */
39 #include "mail_proto.h"
41 /* mail_pathname - map service class and service name to pathname */
43 char *mail_pathname(const char *service_class, const char *service_name)
45 return (concatenate(service_class, "/", service_name, (char *) 0));