diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-01-16 11:53:07 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-01-16 11:53:07 +1100 |
commit | 2563e3f2729b90b62cc0a53137a516d2f009dc53 (patch) | |
tree | 1c32cb273f0171b9a88cb1827d5c14f7ec3ee66d /openbsd-compat/openbsd-compat.h | |
parent | ca94485a484a2f33a50bc293a5bf6e8c26b6d2b5 (diff) |
- (dtucker) [openbsd-compat/openbsd-compat.h] Prototypes for user_from_uid
and group_from_gid.
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index 50c6d990b..a38068d71 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openbsd-compat.h,v 1.46 2008/06/08 17:32:29 dtucker Exp $ */ | 1 | /* $Id: openbsd-compat.h,v 1.47 2010/01/16 00:53:07 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. | 4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. |
@@ -200,6 +200,14 @@ int vasprintf(char **, const char *, va_list); | |||
200 | int vsnprintf(char *, size_t, const char *, va_list); | 200 | int vsnprintf(char *, size_t, const char *, va_list); |
201 | #endif | 201 | #endif |
202 | 202 | ||
203 | #ifndef HAVE_USER_FROM_UID | ||
204 | char *user_from_uid(uid_t); | ||
205 | #endif | ||
206 | |||
207 | #ifndef HAVE_GROUP_FROM_GUID | ||
208 | char *group_from_gid(gid_t); | ||
209 | #endif | ||
210 | |||
203 | void *xmmap(size_t size); | 211 | void *xmmap(size_t size); |
204 | char *xcrypt(const char *password, const char *salt); | 212 | char *xcrypt(const char *password, const char *salt); |
205 | char *shadow_pw(struct passwd *pw); | 213 | char *shadow_pw(struct passwd *pw); |