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

lib/manifest.c File Reference

More...

#include "system.h"
#include <rpmio_internal.h>
#include <rpmlib.h>
#include "stringbuf.h"
#include "manifest.h"
#include "misc.h"
#include "debug.h"

Go to the source code of this file.

Functions

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

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


Detailed Description

Definition in file manifest.c.


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.

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, fdGetFp, freeStringBuf, getStringBuf, newStringBuf, rpmGlob, and xcalloc.


Generated on Wed Sep 4 12:50:00 2002 for rpm by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002