rpmio/tglob.c File Reference

#include "system.h"
#include <rpmio_internal.h>
#include <rpmmacro.h>
#include <rpmmessages.h>
#include <popt.h>
#include "debug.h"

Go to the source code of this file.

Defines

#define HTTPSPATH   "https://localhost/rawhide/test/*.rpm"
#define HTTPPATH   "http://localhost/rawhide/*.rpm"
#define FTPPATH   "ftp://localhost/pub/rawhide/packages/test/*.rpm"
#define DIRPATH   "/var/ftp/pub/rawhide/packages/test/*.rpm"

Functions

static int Glob_error (const char *epath, int eerrno)
static void printGlob (const char *path)
int main (int argc, const char *argv[])

Variables

static int _debug = 0
static char * dirpath = "/var/ftp/pub/rawhide/packages/test/*.rpm"
static char * ftppath = "ftp://localhost/pub/rawhide/packages/test/*.rpm"
static char * httppath = "http://localhost/rawhide/*.rpm"
static char * httpspath = "https://localhost/rawhide/test/*.rpm"
static struct poptOption optionsTable []


Define Documentation

#define DIRPATH   "/var/ftp/pub/rawhide/packages/test/*.rpm"

Definition at line 20 of file tglob.c.

#define FTPPATH   "ftp://localhost/pub/rawhide/packages/test/*.rpm"

Definition at line 19 of file tglob.c.

#define HTTPPATH   "http://localhost/rawhide/*.rpm"

Definition at line 17 of file tglob.c.

#define HTTPSPATH   "https://localhost/rawhide/test/*.rpm"

Definition at line 13 of file tglob.c.


Function Documentation

static int Glob_error ( const char *  epath,
int  eerrno 
) [static]

Definition at line 26 of file tglob.c.

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

Definition at line 64 of file tglob.c.

static void printGlob ( const char *  path  )  [static]

Definition at line 32 of file tglob.c.


Variable Documentation

int _debug = 0 [static]

Definition at line 10 of file tglob.c.

char* dirpath = "/var/ftp/pub/rawhide/packages/test/*.rpm" [static]

Definition at line 21 of file tglob.c.

char* ftppath = "ftp://localhost/pub/rawhide/packages/test/*.rpm" [static]

Definition at line 22 of file tglob.c.

char* httppath = "http://localhost/rawhide/*.rpm" [static]

Definition at line 23 of file tglob.c.

char* httpspath = "https://localhost/rawhide/test/*.rpm" [static]

Definition at line 24 of file tglob.c.

struct poptOption optionsTable[] [static]

Initial value:

 {
 { "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 50 of file tglob.c.


Generated on Tue Feb 19 22:27:09 2008 for rpm by  doxygen 1.5.1