Revision d0f6aada include/trade_sig_ha.h

View differences:

include/trade_sig_ha.h
65 65
 *
66 66
 * @param[in] to target peer to offer the ChunkIDs.
67 67
 * @param[in] cset array of ChunkIDs.
68
 * @param[in] cset_len length of the ChunkID set.
69 68
 * @param[in] max_deliver deliver at most this number of Chunks.
70 69
 * @param[in] trans_id transaction number associated with this request.
71 70
 * @return 1 on success, <0 on error.
72 71
 */
73
//int offerChunks(const struct nodeID *to, struct chunkID_set *cset, int cset_len, int max_deliver, int trans_id);
72
int offerChunks(const struct nodeID *to, struct chunkID_set *cset, int max_deliver, int trans_id);
74 73

  
75 74
/**
76 75
 * Accept a (sub)set of chunks from a Peer.

Also available in: Unified diff