10 #include <rpm/rpmtypes.h>
18 int rpmIsKnownArch(const char *name);
21 * These may be called w/ a NULL argument to flush the cache -- they return
22 * -1 if the user can't be found.
25 int unameToUid(const char * thisUname, uid_t * uid);
28 int gnameToGid(const char * thisGname, gid_t * gid);
31 * Call w/ -1 to flush the cache, returns NULL if the user can't be found.
34 const char * uidToUname(uid_t uid);
37 const char * gidToGname(gid_t gid);