- (dtucker) [openbsd-compat/openbsd-compat.h] Prototypes for user_from_uid

and group_from_gid.
This commit is contained in:
Darren Tucker 2010-01-16 11:53:07 +11:00
parent ca94485a48
commit 2563e3f272
2 changed files with 11 additions and 1 deletions

View File

@ -1,6 +1,8 @@
20100116
- (dtucker) [openbsd-compat/pwcache.c] Pull in includes.h and thus defines.h
so we correctly detect whether or not we have a native user_from_uid.
- (dtucker) [openbsd-compat/openbsd-compat.h] Prototypes for user_from_uid
and group_from_gid.
20100115
- (dtucker) OpenBSD CVS Sync

View File

@ -1,4 +1,4 @@
/* $Id: openbsd-compat.h,v 1.46 2008/06/08 17:32:29 dtucker Exp $ */
/* $Id: openbsd-compat.h,v 1.47 2010/01/16 00:53:07 dtucker Exp $ */
/*
* Copyright (c) 1999-2003 Damien Miller. All rights reserved.
@ -200,6 +200,14 @@ int vasprintf(char **, const char *, va_list);
int vsnprintf(char *, size_t, const char *, va_list);
#endif
#ifndef HAVE_USER_FROM_UID
char *user_from_uid(uid_t);
#endif
#ifndef HAVE_GROUP_FROM_GUID
char *group_from_gid(gid_t);
#endif
void *xmmap(size_t size);
char *xcrypt(const char *password, const char *salt);
char *shadow_pw(struct passwd *pw);