X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/28f24d3dad1844af316337d565ba2ebc11c8ce97..6e71ec6fcdcaa926c98fa58cd4af38e42556df15:/apt-private/private-cmndline.h diff --git a/apt-private/private-cmndline.h b/apt-private/private-cmndline.h index 4819adce1..37fe2c91a 100644 --- a/apt-private/private-cmndline.h +++ b/apt-private/private-cmndline.h @@ -21,19 +21,19 @@ enum class APT_CMD { APT_INTERNAL_SOLVER, APT_MARK, APT_SORTPKG, + APT_DUMP_SOLVER, + APT_INTERNAL_PLANNER, }; - -APT_PUBLIC bool ShowHelp(CommandLine &CmdL) APT_WEAK; struct aptDispatchWithHelp { const char *Match; bool (*Handler)(CommandLine &); const char *Help; }; -APT_PUBLIC std::vector GetCommands() APT_WEAK; APT_PUBLIC std::vector ParseCommandLine(CommandLine &CmdL, APT_CMD const Binary, - Configuration * const * const Cnf, pkgSystem ** const Sys, int const argc, const char * argv[]); + Configuration * const * const Cnf, pkgSystem ** const Sys, int const argc, const char * argv[], + bool (*ShowHelp)(CommandLine &), std::vector (*GetCommands)(void)); APT_PUBLIC unsigned short DispatchCommandLine(CommandLine &CmdL, std::vector const &Cmds); APT_PUBLIC std::vector getCommandArgs(APT_CMD const Program, char const * const Cmd);