Changeset 1141 for trunk/libtorrent/src/protocol/extensions.h
- Timestamp:
- 03/06/10 11:35:37 (2 years ago)
- Files:
-
- 1 modified
-
trunk/libtorrent/src/protocol/extensions.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtorrent/src/protocol/extensions.h
r1138 r1141 41 41 #include <vector> 42 42 43 #include <torrent/exceptions.h> 44 #include <torrent/object.h> 43 #include "torrent/exceptions.h" 44 #include "torrent/object.h" 45 #include "torrent/object_static_map.h" 45 46 46 47 #include "download/download_info.h" … … 156 157 char* m_readPos; 157 158 }; 159 160 // 161 // 162 // 163 164 enum ext_handshake_keys { 165 key_e, 166 key_m_utPex, 167 key_p, 168 key_reqq, 169 key_v, 170 key_handshake_LAST 171 }; 172 173 enum ext_pex_keys { 174 key_pex_added, 175 key_pex_LAST 176 }; 177 178 typedef static_map_type<ext_handshake_keys, key_handshake_LAST> ExtHandshakeMessage; 179 typedef static_map_type<ext_pex_keys, key_pex_LAST> ExtPEXMessage; 180 181 // 182 // 183 // 158 184 159 185 inline
