repo.or.cz
/
etorrent.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Preliminary chunk manager code.
[etorrent.git]
/
lib
/
etorrent-1.0
/
include
/
etorrent_chunk.hrl
blob
04ceeb794c13d8b7e083c155c69dcba1b3af3f68
1
%% A mapping containing the chunks tracking
2
-
record
(
chunk
, {
idt
,
% {id, piece_number, state} tuple
3
% state is fetched | {assigned, Pid} | not_fetched,
4
chunks
}).
% {offset, size}
5
6