lib/manifest.h File Reference

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

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

char * rpmPermsString (int mode)
 Return ls(1)-like formatted mode string.
rpmRC 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 19 of file manifest.c.

References S_ISLNK, S_ISSOCK, and xstrdup().

Referenced by permsFormat(), and printFileInfo().

rpmRC 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 69 of file manifest.c.

References _, appendStringBuf, argv, DOCTYPE_HTML_PUBLIC, fdGetFp(), Fdopen(), getStringBuf(), newStringBuf(), next, rpmGlob(), RPMMESS_DEBUG, rpmMessage, RPMRC_NOTFOUND, and RPMRC_OK.

Referenced by rpmgiLoadManifest().


Generated on Tue Sep 4 14:27:05 2007 for rpm by  doxygen 1.4.6