]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/fileutl.h
- add --arch option for apt-ftparchive packages and contents commands
[apt.git] / apt-pkg / contrib / fileutl.h
index 3cbf67fbbacf0a28a49201e4e7c2a7fb13a33e55..85a94898c4123767492c0d013dfcfc1795c83c68 100644 (file)
@@ -82,8 +82,13 @@ bool RunScripts(const char *Cnf);
 bool CopyFile(FileFd &From,FileFd &To);
 int GetLock(string File,bool Errors = true);
 bool FileExists(string File);
+// FIXME: next ABI-Break: merge the two method-headers
 std::vector<string> GetListOfFilesInDir(string const &Dir, string const &Ext,
-                               bool const &SortList);
+                                       bool const &SortList);
+std::vector<string> GetListOfFilesInDir(string const &Dir, string const &Ext,
+                                       bool const &SortList, bool const &AllowNoExt);
+std::vector<string> GetListOfFilesInDir(string const &Dir, std::vector<string> const &Ext,
+                                       bool const &SortList);
 string SafeGetCWD();
 void SetCloseExec(int Fd,bool Close);
 void SetNonBlock(int Fd,bool Block);