]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-main.h
add TMP/TEMP/TEMPDIR to the TMPDIR DropPrivileges dance
[apt.git] / apt-private / private-main.h
index f9a95c4ecfdb9041e4ff73a3959b9692bd2c986b..0d60797edfe3b1b0ee4db691200a245494ca776c 100644 (file)
@@ -1,9 +1,16 @@
 #ifndef APT_PRIVATE_MAIN_H
 #define APT_PRIVATE_MAIN_H
 
-#include <apt-pkg/cmndline.h>
+#include <apt-private/private-cmndline.h>
 
-void CheckSimulateMode(CommandLine &CmdL);
+#include <apt-pkg/macros.h>
 
+class CommandLine;
+
+void InitLocale(APT_CMD const binary);
+APT_PUBLIC APT_DEPRECATED_MSG("Is a no-op now") void InitLocale();
+APT_PUBLIC void InitSignals();
+APT_PUBLIC void CheckIfSimulateMode(CommandLine &CmdL);
+APT_PUBLIC void CheckIfCalledByScript(int argc, const char *argv[]);
 
 #endif