]>
git.saurik.com Git - apt.git/blob - apt-private/private-cmndline.h
aee679bf899c93a81383825d0a9827ec67fdc34f
1 #ifndef APT_PRIVATE_CMNDLINE_H
2 #define APT_PRIVATE_CMNDLINE_H
4 #include <apt-pkg/cmndline.h>
5 #include <apt-pkg/macros.h>
26 bool ShowHelp(CommandLine
&CmdL
, CommandLine::DispatchWithHelp
const * Cmds
);
27 std::vector
<CommandLine::DispatchWithHelp
> GetCommands();
29 APT_PUBLIC
std::vector
<CommandLine::DispatchWithHelp
> ParseCommandLine(CommandLine
&CmdL
, APT_CMD
const Binary
,
30 Configuration
* const * const Cnf
, pkgSystem
** const Sys
, int const argc
, const char * argv
[]);
31 APT_PUBLIC
unsigned short DispatchCommandLine(CommandLine
&CmdL
, std::vector
<CommandLine::DispatchWithHelp
> const &Cmds
);
33 APT_PUBLIC
std::vector
<CommandLine::Args
> getCommandArgs(APT_CMD
const Program
, char const * const Cmd
);