#include <iostream>
#include <y2util/Y2SLog.h>
#include <y2pm/PkgName.h>
#include <y2pm/RpmHeaderCache.h>
#include <y2pm/RpmHeader.h>
#include "librpm.h"
#include <y2util/PathInfo.h>
Defines | |
#define | Y2LOG "RpmHeaderCache" |
#define | RETURN_IF_CLOSED(R) if ( !isOpen() ) { ERR << "Cache not open: " << _cpath << endl; return R; } |
Functions | |
ostream & | operator<< (ostream &str, const RpmHeaderCache &obj) |
const string | PHC_MAGIC ("YaST-PHC-1.0-0") |
void | phcAddMagic (FD_t fd) |
unsigned | phcAddHeader (FD_t fd, Header h, const Pathname &citem_r, int isSource) |
unsigned | phcAddFile (FD_t fd, const PathInfo &cpath_r, const Pathname &citem_r) |
unsigned | phcScanDir (FD_t fd, const PathInfo &cpath_r, const Pathname &prfx_r, const RpmHeaderCache::buildOpts &options_r) |
Variables | |
const unsigned | PHC_MAGIC_SZE = 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|