Changeset 1094 for trunk/libtorrent/src/torrent/object.h
- Timestamp:
- 06/10/09 08:25:38 (3 years ago)
- Files:
-
- 1 modified
-
trunk/libtorrent/src/torrent/object.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtorrent/src/torrent/object.h
r1080 r1094 76 76 static const uint32_t mask_public = ~mask_internal; 77 77 78 static const uint32_t flag_unordered = 0x100; // bencode dictionary was not sorted 79 78 80 enum type_type { 79 81 TYPE_NONE, … … 109 111 void set_flags(uint32_t f) { m_flags |= f & mask_public; } 110 112 void unset_flags(uint32_t f) { m_flags &= ~(f & mask_public); } 113 114 void set_internal_flags(uint32_t f) { m_flags |= f & (mask_internal & ~mask_type); } 115 void unset_internal_flags(uint32_t f) { m_flags &= ~(f & (mask_internal & ~mask_type)); } 111 116 112 117 // Add functions for setting/clearing the public flags.
