Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

lib/manifest.h File Reference

Routines to expand a manifest containing glob expressions into an argv list. More...

Go to the source code of this file.

Functions

char * rpmPermsString (int mode)
 Return ls(1)-like formatted mode string.

int rpmReadPackageManifest (FD_t fd, int *argcPtr, const char ***argvPtr)
 Read manifest, glob items, and append to existing args.


Detailed Description

Routines to expand a manifest containing glob expressions into an argv list.

Definition in file manifest.h.


Function Documentation

char* rpmPermsString int    mode
 

Return ls(1)-like formatted mode string.

Parameters:
mode  file mode
Returns:
(malloc'd) formatted mode string

Definition at line 18 of file manifest.c.

References S_ISLNK, S_ISSOCK, and xstrdup().

Referenced by permsFormat(), and printFileInfo().

int rpmReadPackageManifest FD_t    fd,
int *    argcPtr,
const char ***    argvPtr
 

Read manifest, glob items, and append to existing args.

Todo:
Infinite loops through manifest files exist, operator error for now.

Definition at line 68 of file manifest.c.

References _free(), appendStringBuf, argv, fdGetFp(), freeStringBuf(), getStringBuf(), newStringBuf(), rpmGlob(), and xcalloc().

Referenced by rpmGraph(), rpmInstall(), and rpmQueryVerify().


Generated on Sun Oct 26 13:02:05 2003 for rpm by doxygen1.2.18