summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ssh/include/bsd-getpeereid.h
blob: 44430f7619a3167031017bf3da6ae208a81d2f0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* $Id: bsd-getpeereid.h,v 1.1 2002/09/12 00:33:02 djm Exp $ */

#ifndef	_BSD_GETPEEREID_H
#define	_BSD_GETPEEREID_H

#pragma ident	"%Z%%M%	%I%	%E% SMI"

#ifdef __cplusplus
extern "C" {
#endif

#include "config.h"

#include <sys/types.h> /* For uid_t, gid_t */

#ifndef HAVE_GETPEEREID
int	 getpeereid(int , uid_t *, gid_t *);
#endif /* HAVE_GETPEEREID */

#ifdef __cplusplus
}
#endif

#endif /* _BSD_GETPEEREID_H */