~ubuntu-branches/debian/experimental/libtorrent/experimental

« back to all changes in this revision

Viewing changes to src/data/chunk.h

  • Committer: Bazaar Package Importer
  • Author(s): Jose Luis Rivas
  • Date: 2007-03-31 10:31:05 UTC
  • mto: (4.1.4 gutsy) (6.2.1 squeeze) (1.3.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20070331103105-jzpp1rml6ud0ff75
Tags: upstream-0.11.4
ImportĀ upstreamĀ versionĀ 0.11.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
 
86
86
  bool                sync(int flags);
87
87
 
88
 
  void                preload(uint32_t position, uint32_t length);
 
88
  void                preload(uint32_t position, uint32_t length, bool useAdvise);
89
89
 
90
90
  bool                to_buffer(void* buffer, uint32_t position, uint32_t length);
91
91
  bool                from_buffer(const void* buffer, uint32_t position, uint32_t length);