Back to index

avfs  1.0.1
ugid.h
Go to the documentation of this file.
00001 /*
00002     AVFS: A Virtual File System Library
00003     Copyright (C) 1998-2001  Miklos Szeredi <miklos@szeredi.hu>
00004 
00005     This program can be distributed under the terms of the GNU GPL.
00006     See the file COPYING.
00007 */
00008 
00009 struct ugidcache;
00010 
00011 struct ugidcache *av_new_ugidcache();
00012 char *av_finduname(struct ugidcache *cache, int uid, const char *deflt);
00013 int av_finduid(struct ugidcache *cache, const char *uname, int deflt);
00014 char *av_findgname(struct ugidcache *cache, int gid, const char *deflt);
00015 int av_findgid(struct ugidcache *cache, const char *gname, int deflt);