rpm  5.4.14
Macros | Functions | Variables
rpmrepo.c File Reference
#include "system.h"
#include <rpmio_internal.h>
#include <rpmdir.h>
#include <fts.h>
#include <poptIO.h>
#include <rpmrepo.h>
#include <rpmtypes.h>
#include <rpmtag.h>
#include <pkgio.h>
#include <rpmts.h>
#include "debug.h"
Include dependency graph for rpmrepo.c:

Go to the source code of this file.

Macros

#define _RPMREPO_INTERNAL
 
#define QVA_ISSET(_qvaflags, _FLAG)   ((_qvaflags) & (VERIFY_##_FLAG))
 
#define VSF_ISSET(_vsflags, _FLAG)   ((_vsflags) & (RPMVSF_##_FLAG))
 
#define VSF_SET(_vsflags, _FLAG)   (_vsflags) |= (RPMVSF_##_FLAG)
 
#define VSF_CLR(_vsflags, _FLAG)   (_vsflags) &= ~(RPMVSF_##_FLAG)
 

Functions

 argvPrint ("repo->directories", repo->directories, NULL)
 
 if (repo->outputdir==NULL)
 
 if (REPO_ISSET(SPLIT)&&REPO_ISSET(CHECKTS))
 
 argvPrint ("repo->pkglist", repo->pkglist, NULL)
 
void rpmtsSetVSFlags (ts, vsflags)
 
 if (!REPO_ISSET(SPLIT))
 
 if ((rc=rpmrepoDoPkgMetadata(repo))!=0)
 
 tagClean (NULL)
 

Variables

 int
 
int rc = 1
 
int xx = argvSort(repo->pkglist, NULL)
 
 __progname = "rpmrepo"
 
 repo = rpmrepoNew(argv, 0)
 
goto exit
 
repo pkgcount = argvCount(repo->pkglist)
 
rpmVSFlags vsflags { rpmts ts = repo->_ts
 
 _rpmts_stats = _rpmsw_stats
 
repo _ts = ts = rpmtsCreate()
 

Macro Definition Documentation

#define _RPMREPO_INTERNAL

Definition at line 53 of file rpmrepo.c.

#define QVA_ISSET (   _qvaflags,
  _FLAG 
)    ((_qvaflags) & (VERIFY_##_FLAG))

Definition at line 75 of file rpmrepo.c.

#define VSF_CLR (   _vsflags,
  _FLAG 
)    (_vsflags) &= ~(RPMVSF_##_FLAG)

Definition at line 79 of file rpmrepo.c.

#define VSF_ISSET (   _vsflags,
  _FLAG 
)    ((_vsflags) & (RPMVSF_##_FLAG))

Definition at line 77 of file rpmrepo.c.

#define VSF_SET (   _vsflags,
  _FLAG 
)    (_vsflags) |= (RPMVSF_##_FLAG)

Definition at line 78 of file rpmrepo.c.

Function Documentation

argvPrint ( "repo->directories"  ,
repo->  directories,
NULL   
)
argvPrint ( "repo->pkglist"  ,
repo->  pkglist,
NULL   
)
if ( repo->  outputdir = NULL)

Definition at line 109 of file rpmrepo.c.

References _, errno, NULL, rpmrepoError(), rpmrepoRealpath(), and xstrdup().

if ( REPO_ISSET(SPLIT)&&REPO_ISSET(CHECKTS)  )

Definition at line 119 of file rpmrepo.c.

if ( REPO_ISSETSPLIT)

Definition at line 183 of file rpmrepo.c.

References _, exit, fprintf(), and rpmrepoCheckTimeStamps().

if ( (rc=rpmrepoDoPkgMetadata(repo))!  = 0)

Definition at line 191 of file rpmrepo.c.

References NULL, rpmtsFree(), and void.

void rpmtsSetVSFlags ( ts  ,
vsflags   
)
tagClean ( NULL  )

Variable Documentation

__progname = "rpmrepo"

Definition at line 95 of file rpmrepo.c.

_rpmts_stats = _rpmsw_stats

Definition at line 163 of file rpmrepo.c.

Referenced by setStats().

repo _ts = ts = rpmtsCreate()

Definition at line 164 of file rpmrepo.c.

Referenced by pgpSetFindPubkey().

goto exit

Definition at line 99 of file rpmrepo.c.

int
Initial value:
{
struct rpmrepo_s * rpmrepo
Definition: rpmrepo.h:16
repo
Definition: rpmrepo.c:97

Definition at line 89 of file rpmrepo.c.

repo pkgcount = argvCount(repo->pkglist)

Definition at line 158 of file rpmrepo.c.

return rc = 1

Definition at line 91 of file rpmrepo.c.

repo = rpmrepoNew(argv, 0)

Definition at line 97 of file rpmrepo.c.

Referenced by rpmrepoFini(), rpmrepoGetPool(), and rpmrepoNew().

vsflags { rpmts ts = repo->_ts
xx = argvSort(repo->pkglist, NULL)

Definition at line 92 of file rpmrepo.c.