]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/fileutl.h
more sensible default text in pot files
[apt.git] / apt-pkg / contrib / fileutl.h
index acfd560ab34dae5bbb45d94c9df728f97dbbce4d..7176e4dea03f923dc56351a430a269cb3bc6de0e 100644 (file)
@@ -150,6 +150,7 @@ class FileFd
 
 bool RunScripts(const char *Cnf);
 bool CopyFile(FileFd &From,FileFd &To);
+bool RemoveFile(char const * const Function, std::string const &FileName);
 int GetLock(std::string File,bool Errors = true);
 bool FileExists(std::string File);
 bool RealFileExists(std::string File);
@@ -159,6 +160,7 @@ time_t GetModificationTime(std::string const &Path);
 bool Rename(std::string From, std::string To);
 
 std::string GetTempDir();
+std::string GetTempDir(std::string const &User);
 FileFd* GetTempFile(std::string const &Prefix = "",
                     bool ImmediateUnlink = true,
                    FileFd * const TmpFd = NULL);