]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/fileutl.h
improve CheckDropPrivsMustBeDisabled further
[apt.git] / apt-pkg / contrib / fileutl.h
index 3a99e3e6175dae780dd6e63233f970697448d219..cddfe2b45cfa5c51c6a7c80aa0b9bdfe812231ac 100644 (file)
@@ -159,8 +159,10 @@ time_t GetModificationTime(std::string const &Path);
 bool Rename(std::string From, std::string To);
 
 std::string GetTempDir();
-FileFd* GetTempFile(std::string const &Prefix = "", 
-                    bool ImmediateUnlink = true);
+std::string GetTempDir(std::string const &User);
+FileFd* GetTempFile(std::string const &Prefix = "",
+                    bool ImmediateUnlink = true,
+                   FileFd * const TmpFd = NULL);
 
 /** \brief Ensure the existence of the given Path
  *