10 #include <rpm/rpmtypes.h>
18 int rpmIsKnownArch(const char *name);
21 unsigned int hashFunctionString(const char * string);
23 * These may be called w/ a NULL argument to flush the cache -- they return
24 * -1 if the user can't be found.
27 int unameToUid(const char * thisUname, uid_t * uid);
30 int gnameToGid(const char * thisGname, gid_t * gid);
33 * Call w/ -1 to flush the cache, returns NULL if the user can't be found.
36 const char * uidToUname(uid_t uid);
39 const char * gidToGname(gid_t gid);