Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

rpmio/ugid.h

Go to the documentation of this file.
00001 #ifndef H_UGID
00002 #define H_UGID
00003 
00008 #ifdef __cplusplus
00009 extern "C" {
00010 #endif
00011 
00012 /* These may be called w/ a NULL argument to flush the cache -- they return
00013    -1 if the user can't be found */
00014 int     unameToUid(const char * thisUname, /*@out@*/ uid_t * uid);
00015 int     gnameToGid(const char * thisGname, /*@out@*/ gid_t * gid);
00016 
00017 /* Call w/ -1 to flush the cache, returns NULL if the user can't be found */
00018 /*@observer@*/ /*@null@*/ char * uidToUname(uid_t uid);
00019 /*@observer@*/ /*@null@*/ char * gidToGname(gid_t gid);
00020 
00021 #ifdef __cplusplus
00022 }
00023 #endif
00024 
00025 #endif  /* H_UGID */
00026 

Generated at Mon May 21 08:53:41 2001 for rpm by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001