rpmio/tring.c File Reference

#include "system.h"
#include "rpmio_internal.h"
#include "popt.h"
#include "debug.h"

Go to the source code of this file.

Functions

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

Variables

static int printing = 1
static int _debug = 0
static struct poptOption optionsTable []


Function Documentation

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

Definition at line 25 of file tring.c.

References optionsTable, PGPARMOR_ERROR, PGPARMOR_NONE, pgpPrtPkts(), pgpReadPkts(), printing, and xcalloc().


Variable Documentation

int _debug = 0 [static]

Definition at line 7 of file tring.c.

struct poptOption optionsTable[] [static]

Initial value:

 {
 { "print", 'p', POPT_ARG_VAL,  &printing, 1,           NULL, NULL },
 { "noprint", 'n', POPT_ARG_VAL, &printing, 0,          NULL, NULL },
 { "debug", 'd', POPT_ARG_VAL,  &_debug, -1,            NULL, NULL },
 { "ftpdebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_ftp_debug, -1,
         "debug protocol data stream" , NULL},
 { "rpmiodebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_rpmio_debug, -1,
         "debug rpmio I/O" , NULL},
 { "urldebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_url_debug, -1,
         "debug URL cache handling" , NULL},
 { "verbose", 'v', 0, 0, 'v',                           NULL, NULL },
  POPT_AUTOHELP
  POPT_TABLEEND
}

Definition at line 9 of file tring.c.

int printing = 1 [static]

Definition at line 6 of file tring.c.

Referenced by main().


Generated on Mon Mar 5 13:30:32 2007 for rpm by  doxygen 1.5.1