xref: /netbsd-src/external/ibm-public/postfix/dist/src/util/open_as.h (revision 41fbaed053f8fbfdf9d2a4ee0a7386a3c83f8505)
1 /*	$NetBSD: open_as.h,v 1.1.1.1 2009/06/23 10:09:00 tron Exp $	*/
2 
3 #ifndef _OPEN_H_INCLUDED_
4 #define _OPEN_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	open_as 3h
9 /* SUMMARY
10 /*	open file as user
11 /* SYNOPSIS
12 /*	#include <fcntl.h>
13 /*	#include <open_as.h>
14 /* DESCRIPTION
15 /* .nf
16 
17  /* External interface. */
18 
19 extern int open_as(const char *, int, int, uid_t, gid_t);
20 
21 /* LICENSE
22 /* .ad
23 /* .fi
24 /*	The Secure Mailer license must be distributed with this software.
25 /* AUTHOR(S)
26 /*	Wietse Venema
27 /*	IBM T.J. Watson Research
28 /*	P.O. Box 704
29 /*	Yorktown Heights, NY 10598, USA
30 /*--*/
31 
32 #endif
33