Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / global / mypwd.h
blob99db70eff565f72c8a0a6e38bed3641e99f5461d
1 /* $NetBSD$ */
3 #ifndef _MYPWNAM_H_INCLUDED_
4 #define _MYPWNAM_H_INCLUDED_
6 /*++
7 /* NAME
8 /* mypwnam 3h
9 /* SUMMARY
10 /* caching getpwnam()/getpwuid()
11 /* SYNOPSIS
12 /* #include <mypwd.h>
13 /* DESCRIPTION
14 /* .nf
17 * External interface.
19 struct mypasswd {
20 int refcount;
21 char *pw_name;
22 char *pw_passwd;
23 uid_t pw_uid;
24 gid_t pw_gid;
25 char *pw_gecos;
26 char *pw_dir;
27 char *pw_shell;
30 extern struct mypasswd *mypwnam(const char *);
31 extern struct mypasswd *mypwuid(uid_t);
32 extern void mypwfree(struct mypasswd *);
34 /* LICENSE
35 /* .ad
36 /* .fi
37 /* The Secure Mailer license must be distributed with this software.
38 /* AUTHOR(S)
39 /* Wietse Venema
40 /* IBM T.J. Watson Research
41 /* P.O. Box 704
42 /* Yorktown Heights, NY 10598, USA
43 /*--*/
45 #endif