private-cmndline.h 563 B

123456789101112131415161718
  1. #ifndef APT_PRIVATE_CMNDLINE_H
  2. #define APT_PRIVATE_CMNDLINE_H
  3. #include <apt-pkg/cmndline.h>
  4. #include <apt-pkg/macros.h>
  5. #include <vector>
  6. class Configuration;
  7. class pkgSystem;
  8. APT_PUBLIC std::vector<CommandLine::Args> getCommandArgs(char const * const Program, char const * const Cmd);
  9. APT_PUBLIC void ParseCommandLine(CommandLine &CmdL, CommandLine::Dispatch * const Cmds, CommandLine::Args * const Args,
  10. Configuration * const * const Cnf, pkgSystem ** const Sys, int const argc, const char * argv[],
  11. bool(*ShowHelp)(CommandLine &CmdL));
  12. #endif