rpm  5.4.14
Macros | Functions | Variables
rpmcmp.c File Reference
#include "system.h"
#include <popt.h>
#include <rpmio_internal.h>
#include <rpmcb.h>
#include <argv.h>
#include <rpmtypes.h>
#include <rpmtag.h>
#include <rpmds.h>
#include "debug.h"
Include dependency graph for rpmcmp.c:

Go to the source code of this file.

Macros

#define _RPMDS_INTERNAL
 
#define _RPMEVR_INTERNAL
 
#define progname   __progname
 

Functions

static int pointRpmEVR (ARGV_t av)
 
int main (int argc, char *argv[])
 

Variables

const char * __progname
 
static struct poptOption optionsTable []
 

Macro Definition Documentation

#define _RPMDS_INTERNAL

Definition at line 10 of file rpmcmp.c.

#define _RPMEVR_INTERNAL

Definition at line 11 of file rpmcmp.c.

#define progname   __progname

Definition at line 17 of file rpmcmp.c.

Referenced by main().

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 49 of file rpmcmp.c.

References _, ac, argvCount(), argvFgets(), av, ec, fprintf(), NULL, optCon, optionsTable, pointRpmEVR(), poptContext, progname, rc, strcmp(), and xx.

static int pointRpmEVR ( ARGV_t  av)
static

Definition at line 19 of file rpmcmp.c.

References _free(), alloca(), b, memset(), rc, rpmEVRcompare(), rpmEVRparse(), and void.

Referenced by main().

Variable Documentation

const char* __progname

Definition at line 16 of file rpmcmp.c.

struct poptOption optionsTable[]
static
Initial value:
= {
{ "debug", 'd', POPT_ARG_VAL, &_rpmevr_debug, -1, NULL, NULL },
POPT_AUTOALIAS
POPT_AUTOHELP
POPT_TABLEEND
}
return NULL
Definition: poptALL.c:613
int _rpmevr_debug
Definition: rpmevr.c:25

Definition at line 41 of file rpmcmp.c.

Referenced by main().