poolid.h File Reference

#include "pooltypes.h"
#include "hash.h"

Go to the source code of this file.

Classes

struct  _Reldep

Typedefs

typedef struct _Reldep Reldep

Functions

Id str2id (Pool *pool, const char *, int)
Id strn2id (Pool *pool, const char *, unsigned int, int)
Id rel2id (Pool *pool, Id, Id, int, int)
const char * id2str (const Pool *pool, Id)
const char * dep2str (Pool *pool, Id)
const char * id2rel (const Pool *pool, Id)
const char * id2evr (const Pool *pool, Id)
void pool_shrink_strings (Pool *pool)
void pool_shrink_rels (Pool *pool)
void pool_freeidhashes (Pool *pool)

Typedef Documentation

typedef struct _Reldep Reldep

Function Documentation

Id str2id ( Pool pool,
const char *  ,
int   
)
Id strn2id ( Pool pool,
const char *  ,
unsigned  int,
int   
)
Id rel2id ( Pool pool,
Id  ,
Id  ,
int  ,
int   
)
const char* id2str ( const Pool pool,
Id   
)
const char* dep2str ( Pool pool,
Id   
)
const char* id2rel ( const Pool pool,
Id   
)

Definition at line 158 of file poolid.c.

References _Reldep::flags, GETRELDEP, ISRELDEP, REL_AND, REL_ARCH, REL_FILECONFLICT, REL_NAMESPACE, REL_OR, REL_WITH, and rels.

Referenced by dep2strcpy(), and dep2strlen().

const char* id2evr ( const Pool pool,
Id   
)
void pool_shrink_strings ( Pool pool  ) 

Definition at line 270 of file poolid.c.

References _Pool::ss, and stringpool_shrink().

Referenced by repo_add_solv_flags().

void pool_shrink_rels ( Pool pool  ) 

Definition at line 276 of file poolid.c.

References _Pool::nrels, REL_BLOCK, _Pool::rels, and sat_extend_resize().

Referenced by repo_add_solv_flags().

void pool_freeidhashes ( Pool pool  ) 
Generated on Mon Dec 12 11:44:12 2011 for satsolver by  doxygen 1.6.3