diff options
author | Jim Meyering <jim@meyering.net> | 2007-08-18 07:16:52 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-08-18 07:16:52 +0000 |
commit | dc9484f5465a7f99163c4848e4ad45bf2df528f5 (patch) | |
tree | e1c485be74385a2a2ae227eeab2a043394b08e93 /lib/idcache.h | |
parent | a29749fa308fb3e489f2678f1acbff3877501479 (diff) | |
download | gnulib-dc9484f5465a7f99163c4848e4ad45bf2df528f5.tar.gz |
New file: lib/idcache.h
* NEWS: Mention the addition.
* modules/idcache (Files): Add lib/idcache.h
* lib/idcache.c: Include "idcache.h".
Don't include <sys/types.h>.
Add a FIXME comment.
Move file-scoped "static" declarations to the top.
* lib/idcache.h: New file. Include <sys/types.h> here, instead.
Diffstat (limited to 'lib/idcache.h')
-rw-r--r-- | lib/idcache.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/idcache.h b/lib/idcache.h new file mode 100644 index 0000000000..e7573b83f7 --- /dev/null +++ b/lib/idcache.h @@ -0,0 +1,11 @@ +#ifndef IDCACHE_H +# define IDCACHE_H 1 + +# include <sys/types.h> + +extern char *getuser (uid_t uid); +extern char *getgroup (gid_t gid); +extern uid_t *getuidbyname (const char *user); +extern gid_t *getgidbyname (const char *group); + +#endif |