rpm  5.2.1
Functions
rpmio/ugid.c File Reference
#include "system.h"
#include "ugid.h"
#include "debug.h"
Include dependency graph for ugid.c:

Go to the source code of this file.

Functions

int unameToUid (const char *thisUname, uid_t *uid)
int gnameToGid (const char *thisGname, gid_t *gid)
char * uidToUname (uid_t uid)
char * gidToGname (gid_t gid)

Detailed Description

Definition in file ugid.c.


Function Documentation

char* gidToGname ( gid_t  gid)
int gnameToGid ( const char *  thisGname,
gid_t *  gid 
)

Definition at line 62 of file ugid.c.

References xrealloc().

Referenced by fsmMapAttrs(), iosmMapAttrs(), rpmfiFStat(), set(), unsatisfiedDepend(), and vfs_parse_ls_lga().

char* uidToUname ( uid_t  uid)
int unameToUid ( const char *  thisUname,
uid_t *  uid 
)

Definition at line 16 of file ugid.c.

References xrealloc().

Referenced by fsmMapAttrs(), iosmMapAttrs(), rpmfiFStat(), set(), unsatisfiedDepend(), and vfs_parse_ls_lga().