]>
git.saurik.com Git - apt.git/blob - apt-private/private-cmndline.h
5674088bcc2abef3b1ec8b521f2724b7e617ff1d
1 #ifndef APT_PRIVATE_CMNDLINE_H
2 #define APT_PRIVATE_CMNDLINE_H
4 #include <apt-pkg/cmndline.h>
5 #include <apt-pkg/macros.h>
12 APT_PUBLIC
std::vector
<CommandLine::Args
> getCommandArgs(char const * const Program
, char const * const Cmd
);
13 APT_PUBLIC
void ParseCommandLine(CommandLine
&CmdL
, CommandLine::DispatchWithHelp
const * Cmds
, char const * const Binary
,
14 Configuration
* const * const Cnf
, pkgSystem
** const Sys
, int const argc
, const char * argv
[],
15 bool(*ShowHelp
)(CommandLine
&, CommandLine::DispatchWithHelp
const *));
16 APT_PUBLIC
unsigned short DispatchCommandLine(CommandLine
&CmdL
, CommandLine::DispatchWithHelp
const * const Cmds
);