Changeset 1141 for trunk/libtorrent/src/protocol/extensions.cc
- Timestamp:
- 03/06/10 11:35:37 (2 years ago)
- Files:
-
- 1 modified
-
trunk/libtorrent/src/protocol/extensions.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtorrent/src/protocol/extensions.cc
r1140 r1141 46 46 #include "protocol/peer_connection_base.h" 47 47 #include "torrent/connection_manager.h" 48 #include "torrent/object.h"49 48 #include "torrent/object_stream.h" 50 49 #include "torrent/peer/connection_list.h" 51 50 #include "torrent/peer/peer_info.h" 52 #include "torrent/object_static_map.h"53 51 #include "manager.h" 54 52 … … 56 54 57 55 namespace torrent { 58 59 enum ext_handshake_keys {60 key_e,61 key_m_utPex,62 key_p,63 key_reqq,64 key_v,65 key_handshake_LAST66 };67 68 enum ext_pex_keys {69 key_pex_added,70 key_pex_LAST71 };72 73 typedef static_map_type<ext_handshake_keys, key_handshake_LAST> ExtHandshakeMessage;74 typedef static_map_type<ext_pex_keys, key_pex_LAST> ExtPEXMessage;75 56 76 57 template <>
