Postfix3.3.1
user_acl.h
[詳解]
1 #ifndef _USER_ACL_H_INCLUDED_
2 #define _USER_ACL_H_INCLUDED_
3 /*++
4 /* NAME
5 /* user_acl 3h
6 /* SUMMARY
7 /* Convert uid to username and check against given ACL.
8 /* SYNOPSIS
9 /* #include <user_acl.h>
10 /*
11 /* DESCRIPTION
12 /* .nf
13 
14  /*
15  * System library
16  */
17 #include <unistd.h> /* getuid()/geteuid() */
18 #include <sys/types.h> /* uid_t */
19 
20  /*
21  * Utility library.
22  */
23 #include <vstring.h>
24 
25  /*
26  * External interface
27  */
28 extern const char *check_user_acl_byuid(const char *, const char *, uid_t);
29 
30 /* AUTHOR(S)
31 /* Wietse Venema
32 /* IBM T.J. Watson Research
33 /* P.O. Box 704
34 /* Yorktown Heights, NY 10598, USA
35 /*
36 /* Victor Duchovni
37 /* Morgan Stanley
38 /*--*/
39 #endif
const char * check_user_acl_byuid(const char *, const char *, uid_t)
Definition: user_acl.c:65