]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/fileutl.h
WIP local deb install
[apt.git] / apt-pkg / contrib / fileutl.h
index cc1a98eae02c227b47962dff72421baf0e3f5e6d..fb01531fd6704c517801c432ddd48304abae14f3 100644 (file)
@@ -168,6 +168,8 @@ 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);
 
 /** \brief Ensure the existence of the given Path
  *