rpm  5.4.4
rpmdb/poptDB.c
Go to the documentation of this file.
00001 
00006 #include "system.h"
00007 
00008 #include <rpmiotypes.h>
00009 
00010 #include <rpmtypes.h>
00011 #include <rpmtag.h>
00012 #include <rpmdb.h>
00013 #include <rpmlio.h>
00014 #include <rpmmdb.h>
00015 #include <rpmrepo.h>
00016 #include <rpmtxn.h>
00017 
00018 #include <rpmcli.h>     /* XXX rpmQVKArguments_s, <popt.h> */
00019 
00020 #include "debug.h"
00021 
00022 /*@-redecl@*/
00023 /*@unchecked@*/
00024 extern int _dbi_debug;
00025 /*@=redecl@*/
00026 
00027 /*@unchecked@*/
00028 struct rpmQVKArguments_s rpmDBArgs;
00029 
00032 struct poptOption rpmDatabasePoptTable[] = {
00033 
00034  { "rebuilddb", '\0', POPT_ARG_VAL, &rpmDBArgs.rebuild, 1,
00035         N_("rebuild database inverted lists from installed package headers"),
00036         NULL},
00037 
00038  { "rpmdbdebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_rpmdb_debug, -1,
00039         N_("Debug rpmdb DataBase"), NULL},
00040  { "rpmdbidebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_dbi_debug, -1,
00041         N_("Debug dbiIndex DataBase Index"), NULL},
00042  { "rpmliodebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_rpmlio_debug, -1,
00043         N_("Debug rpmlio database Log I/O"), NULL},
00044  { "rpmmdbdebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_rpmmdb_debug, -1,
00045         N_("Debug rpmmdb Mongo DB"), NULL},
00046  { "rpmrepodebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_rpmrepo_debug, -1,
00047         N_("Debug rpmrepo repository wrappers "), NULL},
00048  { "rpmtxndebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_rpmtxn_debug, -1,
00049         N_("Debug rpmtxn database Transaction"), NULL},
00050 
00051    POPT_TABLEEND
00052 };