xref: /onnv-gate/usr/src/cmd/ssh/include/bsd-getpeereid.h (revision 0:68f95e015346)
1*0Sstevel@tonic-gate /* $Id: bsd-getpeereid.h,v 1.1 2002/09/12 00:33:02 djm Exp $ */
2*0Sstevel@tonic-gate 
3*0Sstevel@tonic-gate #ifndef	_BSD_GETPEEREID_H
4*0Sstevel@tonic-gate #define	_BSD_GETPEEREID_H
5*0Sstevel@tonic-gate 
6*0Sstevel@tonic-gate #pragma ident	"%Z%%M%	%I%	%E% SMI"
7*0Sstevel@tonic-gate 
8*0Sstevel@tonic-gate #ifdef __cplusplus
9*0Sstevel@tonic-gate extern "C" {
10*0Sstevel@tonic-gate #endif
11*0Sstevel@tonic-gate 
12*0Sstevel@tonic-gate #include "config.h"
13*0Sstevel@tonic-gate 
14*0Sstevel@tonic-gate #include <sys/types.h> /* For uid_t, gid_t */
15*0Sstevel@tonic-gate 
16*0Sstevel@tonic-gate #ifndef HAVE_GETPEEREID
17*0Sstevel@tonic-gate int	 getpeereid(int , uid_t *, gid_t *);
18*0Sstevel@tonic-gate #endif /* HAVE_GETPEEREID */
19*0Sstevel@tonic-gate 
20*0Sstevel@tonic-gate #ifdef __cplusplus
21*0Sstevel@tonic-gate }
22*0Sstevel@tonic-gate #endif
23*0Sstevel@tonic-gate 
24*0Sstevel@tonic-gate #endif /* _BSD_GETPEEREID_H */
25