rpm 5.3.12
|
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 <rpmrepo.h> 00015 #include <rpmtxn.h> 00016 00017 #include <rpmcli.h> /* XXX rpmQVKArguments_s, <popt.h> */ 00018 00019 #include "debug.h" 00020 00021 /*@-redecl@*/ 00022 /*@unchecked@*/ 00023 extern int _dbi_debug; 00024 /*@=redecl@*/ 00025 00026 /*@unchecked@*/ 00027 struct rpmQVKArguments_s rpmDBArgs; 00028 00031 struct poptOption rpmDatabasePoptTable[] = { 00032 00033 { "rebuilddb", '\0', POPT_ARG_VAL, &rpmDBArgs.rebuild, 1, 00034 N_("rebuild database inverted lists from installed package headers"), 00035 NULL}, 00036 00037 { "rpmdbdebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_rpmdb_debug, -1, 00038 N_("Debug rpmdb DataBase"), NULL}, 00039 { "rpmdbidebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_dbi_debug, -1, 00040 N_("Debug dbiIndex DataBase Index"), NULL}, 00041 { "rpmliodebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_rpmlio_debug, -1, 00042 N_("Debug rpmlio database Log I/O"), NULL}, 00043 { "rpmrepodebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_rpmrepo_debug, -1, 00044 N_("Debug rpmrepo repository wrappers "), NULL}, 00045 { "rpmtxndebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_rpmtxn_debug, -1, 00046 N_("Debug rpmtxn database Transaction"), NULL}, 00047 00048 POPT_TABLEEND 00049 };