Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

lib/cpio.h File Reference

Structures used to handle cpio payloads within rpm packages. More...

#include <zlib.h>
#include <sys/types.h>
#include <rpmio_internal.h>

Go to the source code of this file.

Compounds

struct  cpioCallbackInfo
struct  cpioFileMapping

Defines

#define CPIOERR_CHECK_ERRNO   0x00008000

Typedefs

typedef void (* cpioCallback )(struct cpioCallbackInfo * filespec, void * data)

Enumerations

enum  cpioErrorReturns {
  CPIOERR_BAD_MAGIC = (2 ), CPIOERR_BAD_HEADER = (3 ), CPIOERR_OPEN_FAILED = (4 | 0x00008000 ), CPIOERR_CHMOD_FAILED = (5 | 0x00008000 ),
  CPIOERR_CHOWN_FAILED = (6 | 0x00008000 ), CPIOERR_WRITE_FAILED = (7 | 0x00008000 ), CPIOERR_UTIME_FAILED = (8 | 0x00008000 ), CPIOERR_UNLINK_FAILED = (9 | 0x00008000 ),
  CPIOERR_SYMLINK_FAILED = (11 | 0x00008000 ), CPIOERR_STAT_FAILED = (12 | 0x00008000 ), CPIOERR_MKDIR_FAILED = (13 | 0x00008000 ), CPIOERR_MKNOD_FAILED = (14 | 0x00008000 ),
  CPIOERR_MKFIFO_FAILED = (15 | 0x00008000 ), CPIOERR_LINK_FAILED = (16 | 0x00008000 ), CPIOERR_READLINK_FAILED = (17 | 0x00008000 ), CPIOERR_READ_FAILED = (18 | 0x00008000 ),
  CPIOERR_COPY_FAILED = (19 | 0x00008000 ), CPIOERR_HDR_SIZE = (20 ), CPIOERR_UNKNOWN_FILETYPE = (21 ), CPIOERR_MISSING_HARDLINK = (22 ),
  CPIOERR_MD5SUM_MISMATCH = (23 ), CPIOERR_INTERNAL = (24 )
}
enum  cpioMapFlags {
  CPIO_MAP_PATH = (1 << 0), CPIO_MAP_MODE = (1 << 1), CPIO_MAP_UID = (1 << 2), CPIO_MAP_GID = (1 << 3),
  CPIO_FOLLOW_SYMLINKS = (1 << 4), CPIO_MULTILIB = (1 << 31)
}


Detailed Description

Structures used to handle cpio payloads within rpm packages.

Warning:
Rpm's cpio implementation may be different than standard cpio. The implementation is pretty close, but it has some behaviors which are more to RPM's liking. I tried to document the differing behavior in cpio.c, but I may have missed some (ewt).

Definition in file cpio.h.


Typedef Documentation

typedef void (* cpioCallback)(struct cpioCallbackInfo * filespec, void * data)
 

Definition at line 96 of file cpio.h.


Generated at Sun Apr 8 18:43:03 2001 for rpm by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000