repopage.h File Reference

Go to the source code of this file.

Classes

struct  _Attrblobpage
struct  _Repopagestore

Defines

#define BLOB_PAGEBITS   15
#define BLOB_PAGESIZE   (1 << BLOB_PAGEBITS)

Typedefs

typedef struct _Attrblobpage Attrblobpage
typedef struct _Repopagestore Repopagestore

Functions

void repopagestore_init (Repopagestore *store)
void repopagestore_free (Repopagestore *store)
unsigned char * repopagestore_load_page_range (Repopagestore *store, unsigned int pstart, unsigned int pend)
unsigned int repopagestore_compress_page (unsigned char *page, unsigned int len, unsigned char *cpage, unsigned int max)
int repopagestore_read_or_setup_pages (Repopagestore *store, FILE *fp, unsigned int pagesz, unsigned int blobsz)
void repopagestore_disable_paging (Repopagestore *store)

Define Documentation

#define BLOB_PAGEBITS   15

Definition at line 11 of file repopage.h.

#define BLOB_PAGESIZE   (1 << BLOB_PAGEBITS)

Typedef Documentation

typedef struct _Attrblobpage Attrblobpage
typedef struct _Repopagestore Repopagestore

Function Documentation

void repopagestore_init ( Repopagestore store  ) 

Definition at line 554 of file repopage.c.

References _Repopagestore::pagefd.

Referenced by repo_add_solv_flags(), and repodata_initdata().

void repopagestore_free ( Repopagestore store  ) 
unsigned char* repopagestore_load_page_range ( Repopagestore store,
unsigned int  pstart,
unsigned int  pend 
)
unsigned int repopagestore_compress_page ( unsigned char *  page,
unsigned int  len,
unsigned char *  cpage,
unsigned int  max 
)

Definition at line 734 of file repopage.c.

References compress_buf().

int repopagestore_read_or_setup_pages ( Repopagestore store,
FILE *  fp,
unsigned int  pagesz,
unsigned int  blobsz 
)
void repopagestore_disable_paging ( Repopagestore store  ) 

Definition at line 850 of file repopage.c.

References _Repopagestore::num_pages, and repopagestore_load_page_range().

Referenced by repodata_disable_paging().

Generated on Mon Dec 12 11:44:13 2011 for satsolver by  doxygen 1.6.3