1 /* @(#)idcache.h 1.3 10/08/24 Copyright 1993, 1995-2010 J. Schilling */ 2 /* 3 * Copyright (c) 1993, 1995-2010 J. Schilling 4 */ 5 /* 6 * The contents of this file are subject to the terms of the 7 * Common Development and Distribution License, Version 1.0 only 8 * (the "License"). You may not use this file except in compliance 9 * with the License. 10 * 11 * See the file CDDL.Schily.txt in this distribution for details. 12 * A copy of the CDDL is also available via the Internet at 13 * http://www.opensource.org/licenses/cddl1.txt 14 * 15 * When distributing Covered Code, include this CDDL HEADER in each 16 * file and include the License file CDDL.Schily.txt from this distribution. 17 */ 18 19 #ifndef _SCHILY_IDCACHE_H 20 #define _SCHILY_IDCACHE_H 21 22 #ifndef _SCHILY_MCONFIG_H 23 #include <schily/mconfig.h> 24 #endif 25 26 #ifndef _SCHILY_TYPES_H 27 #include <schily/types.h> 28 #endif 29 30 #ifdef __cplusplus 31 extern "C" { 32 #endif 33 34 extern BOOL ic_nameuid __PR((char *name, int namelen, uid_t uid)); 35 extern BOOL ic_uidname __PR((char *name, int namelen, uid_t *uidp)); 36 extern BOOL ic_namegid __PR((char *name, int namelen, gid_t gid)); 37 extern BOOL ic_gidname __PR((char *name, int namelen, gid_t *gidp)); 38 extern uid_t ic_uid_nobody __PR((void)); 39 extern gid_t ic_gid_nobody __PR((void)); 40 41 #ifdef __cplusplus 42 } 43 #endif 44 45 #endif /* _SCHILY_IDCACHE_H */ 46