rpm  5.4.15
Macros | Typedefs | Functions | Variables
rpmcvs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define rpmcvsUnlink(_cvs)   ((rpmcvs)rpmioUnlinkPoolItem((rpmioItem)(_cvs), __FUNCTION__, __FILE__, __LINE__))
 
#define rpmcvsLink(_cvs)   ((rpmcvs)rpmioLinkPoolItem((rpmioItem)(_cvs), __FUNCTION__, __FILE__, __LINE__))
 
#define rpmcvsFree(_cvs)   ((rpmcvs)rpmioFreePoolItem((rpmioItem)(_cvs), __FUNCTION__, __FILE__, __LINE__))
 

Typedefs

typedef struct rpmcvs_s * rpmcvs
 

Functions

rpmcvs rpmcvsUnlink (rpmcvs cvs)
 Unreference a cvs wrapper instance. More...
 
rpmcvs rpmcvsLink (rpmcvs cvs)
 Reference a cvs wrapper instance. More...
 
rpmcvs rpmcvsFree (rpmcvs cvs)
 Destroy a cvs wrapper. More...
 
rpmcvs rpmcvsNew (const char *fn, int flags)
 Create and load a cvs wrapper. More...
 

Variables

int _rpmcvs_debug
 

Macro Definition Documentation

#define rpmcvsFree (   _cvs)    ((rpmcvs)rpmioFreePoolItem((rpmioItem)(_cvs), __FUNCTION__, __FILE__, __LINE__))

Definition at line 66 of file rpmcvs.h.

#define rpmcvsLink (   _cvs)    ((rpmcvs)rpmioLinkPoolItem((rpmioItem)(_cvs), __FUNCTION__, __FILE__, __LINE__))

Definition at line 54 of file rpmcvs.h.

#define rpmcvsUnlink (   _cvs)    ((rpmcvs)rpmioUnlinkPoolItem((rpmioItem)(_cvs), __FUNCTION__, __FILE__, __LINE__))

Definition at line 43 of file rpmcvs.h.

Typedef Documentation

typedef struct rpmcvs_s* rpmcvs

Definition at line 15 of file rpmcvs.h.

Function Documentation

rpmcvs rpmcvsFree ( rpmcvs  cvs)

Destroy a cvs wrapper.

Parameters
cvscvs wrapper
Returns
NULL on last dereference
rpmcvs rpmcvsLink ( rpmcvs  cvs)

Reference a cvs wrapper instance.

Parameters
cvscvs wrapper
Returns
new cvs wrapper reference

Referenced by rpmcvsNew().

rpmcvs rpmcvsNew ( const char *  fn,
int  flags 
)

Create and load a cvs wrapper.

Parameters
fncvs file
flagscvs flags
Returns
new cvs wrapper

Definition at line 47 of file rpmcvs.c.

References rpmcvsGetPool(), rpmcvsLink(), and xstrdup().

rpmcvs rpmcvsUnlink ( rpmcvs  cvs)

Unreference a cvs wrapper instance.

Parameters
cvscvs wrapper
Returns
NULL on last dereference

Variable Documentation

int _rpmcvs_debug

Definition at line 17 of file rpmcvs.c.

Referenced by rpmcvsGetPool().