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. | |
rpmRC | rpmReadPackageManifest (FD_t fd, int *argcPtr, const char ***argvPtr) |
Read manifest, glob items, and append to existing args. |
Routines to expand a manifest containing glob expressions into an argv list.
Definition in file manifest.h.
char* rpmPermsString | ( | int | mode ) |
Return ls(1)-like formatted mode string.
mode | file mode |
Definition at line 18 of file manifest.c.
References S_ISLNK, S_ISSOCK, and xstrdup().
Referenced by permsFormat(), and printFileInfo().
Read manifest, glob items, and append to existing args.
fd | manifest file handle |
argcPtr | no. of args |
argvPtr | args themselves |
Definition at line 66 of file manifest.c.
References _free(), appendStringBuf, D_, DOCTYPE_HTML_PUBLIC, fdGetFp(), Fdopen(), freeStringBuf(), getStringBuf(), newStringBuf(), next, rpmGlob(), rpmlog(), RPMLOG_DEBUG, RPMRC_FAIL, RPMRC_NOTFOUND, RPMRC_OK, and xcalloc().
Referenced by rpmgiLoadManifest().