#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 | HTTPPATH "https://wellfleet.jbj.org/rawhide/test/" |
| #define | FTPPATH "ftp://wellfleet.jbj.org/pub/rawhide/packages/test/" |
| #define | DIRPATH "/var/ftp/pub/rawhide/packages/test" |
Functions | |
| static void | printDir (const char *path) |
| int | main (int argc, const char *argv[]) |
Variables | |
| static int | _debug = 0 |
| static char * | httppath = "https://wellfleet.jbj.org/rawhide/test/" |
| static char * | ftppath = "ftp://wellfleet.jbj.org/pub/rawhide/packages/test/" |
| static char * | dirpath = "/var/ftp/pub/rawhide/packages/test" |
| static struct poptOption | optionsTable [] |
| #define FTPPATH "ftp://wellfleet.jbj.org/pub/rawhide/packages/test/" |
| int main | ( | int | argc, | |
| const char * | argv[] | |||
| ) |
Definition at line 54 of file tdir.c.
References _av_debug, _dav_debug, _debug, _ftp_debug, dirpath, ftppath, httppath, optionsTable, printDir(), rpmIncreaseVerbosity, and urlFreeCache().
| static void printDir | ( | const char * | path | ) | [static] |
char* dirpath = "/var/ftp/pub/rawhide/packages/test" [static] |
char* ftppath = "ftp://wellfleet.jbj.org/pub/rawhide/packages/test/" [static] |
char* httppath = "https://wellfleet.jbj.org/rawhide/test/" [static] |
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
}
1.5.1