]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-cmndline.h
switch 'apt-mark hold' from Pkg to Ver based operation
[apt.git] / apt-private / private-cmndline.h
index 76045ffe7da79755fbbc84fd32ea8bcc9cc86437..7b468456b857123bb8e91f0d49f43526fca656c3 100644 (file)
@@ -2,9 +2,16 @@
 #define APT_PRIVATE_CMNDLINE_H
 
 #include <apt-pkg/cmndline.h>
+#include <apt-pkg/macros.h>
 
 #include <vector>
 
-std::vector<CommandLine::Args> getCommandArgs(char const * const Program, char const * const Cmd);
+class Configuration;
+class pkgSystem;
+
+APT_PUBLIC std::vector<CommandLine::Args> getCommandArgs(char const * const Program, char const * const Cmd);
+APT_PUBLIC void ParseCommandLine(CommandLine &CmdL, CommandLine::Dispatch * const Cmds, CommandLine::Args * const Args,
+      Configuration * const * const Cnf, pkgSystem ** const Sys, int const argc, const char * argv[],
+      bool(*ShowHelp)(CommandLine &CmdL));
 
 #endif