~racb/ubuntu/quantal/apt/by_hash

« back to all changes in this revision

Viewing changes to apt-pkg/contrib/fileutl.h

  • Committer: Package Import Robot
  • Author(s): Steve Langasek, Michael Vogt, Steve Langasek
  • Date: 2012-06-11 22:36:16 UTC
  • mfrom: (1.4.47 sid)
  • Revision ID: package-import@ubuntu.com-20120611223616-1cctfc7qrxrx4vcu
Tags: 0.9.6ubuntu1
[ Michael Vogt ]
* merged from Debian, remaining changes:
  - use ubuntu keyring and ubuntu archive keyring in apt-key
  - run update-apt-xapian-index in apt.cron
  - support apt-key net-update and verify keys against master-keyring
  - run apt-key net-update in cron.daily
  - different example sources.list
  - APT::pkgPackageManager::MaxLoopCount set to 5000
  - apport pkgfailure handling
  - ubuntu changelog download handling
  - patch for apt cross-building, see http://bugs.debian.org/666772

[ Steve Langasek ]
* Drop upgrade handling for obsolete conffile /etc/apt/apt.conf.d/01ubuntu,
  removed in previous LTS.
* prepare-release: declare the packages needed as source build deps.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
   bool Read(void *To,unsigned long long Size,unsigned long long *Actual = 0);
79
79
   char* ReadLine(char *To, unsigned long long const Size);
80
80
   bool Write(const void *From,unsigned long long Size);
 
81
   bool static Write(int Fd, const void *From, unsigned long long Size);
81
82
   bool Seek(unsigned long long To);
82
83
   bool Skip(unsigned long long To);
83
84
   bool Truncate(unsigned long long To);
171
172
                                        bool const &SortList, bool const &AllowNoExt=false);
172
173
std::vector<std::string> GetListOfFilesInDir(std::string const &Dir, std::vector<std::string> const &Ext,
173
174
                                        bool const &SortList);
 
175
std::vector<std::string> GetListOfFilesInDir(std::string const &Dir, bool SortList);
174
176
std::string SafeGetCWD();
175
177
void SetCloseExec(int Fd,bool Close);
176
178
void SetNonBlock(int Fd,bool Block);