Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

RpmHeaderCache.cc File Reference

#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

Define Documentation

#define RETURN_IF_CLOSED  )     if ( !isOpen() ) { ERR << "Cache not open: " << _cpath << endl; return R; }
 

#define Y2LOG   "RpmHeaderCache"
 


Function Documentation

ostream& operator<< std::ostream &  str,
const RpmHeaderCache obj
 

const string PHC_MAGIC "YaST-PHC-1.0-0"   )  [static]
 

unsigned phcAddFile FD_t  fd,
const PathInfo cpath_r,
const Pathname citem_r
 

unsigned phcAddHeader FD_t  fd,
Header  h,
const Pathname citem_r,
int  isSource
 

void phcAddMagic FD_t  fd  ) 
 

unsigned phcScanDir FD_t  fd,
const PathInfo cpath_r,
const Pathname prfx_r,
const RpmHeaderCache::buildOpts options_r
 


Variable Documentation

const unsigned PHC_MAGIC_SZE = 64 [static]
 


Generated on Fri Nov 9 14:30:32 2007 for yast2-packagemanager by doxygen 1.3.6