Revision a2859bcd include/trade_sig_ha.h

View differences:

include/trade_sig_ha.h
69 69
 * @param[in] trans_id transaction number associated with this request.
70 70
 * @return 1 on success, <0 on error.
71 71
 */
72
int offerChunks(const struct nodeID *to, struct chunkID_set *cset, int max_deliver, int trans_id);
72
int offerChunks(struct nodeID *to, struct chunkID_set *cset, int max_deliver, int trans_id);
73 73

  
74 74
/**
75 75
 * Accept a (sub)set of chunks from a Peer.
......
83 83
 * @param[in] trans_id transaction number associated with this request.
84 84
 * @return 1 on success, <0 on error.
85 85
 */
86
int acceptChunks(const struct nodeID *to, struct chunkID_set *cset, int max_deliver, int trans_id);
86
int acceptChunks(struct nodeID *to, struct chunkID_set *cset, int max_deliver, int trans_id);
87 87

  
88 88
/**
89 89
 * Send a BufferMap to a Peer.
......
97 97
 * @param[in] trans_id transaction number associated with this send.
98 98
 * @return 1 Success, <0 on error.
99 99
 */
100
int sendBufferMap(const struct nodeID *to, const struct nodeID *owner, struct chunkID_set *bmap, int bmap_len, int trans_id);
100
int sendBufferMap(struct nodeID *to, const struct nodeID *owner, struct chunkID_set *bmap, int bmap_len, int trans_id);
101 101

  
102 102
/**
103 103
 * Request a BufferMap to a Peer.

Also available in: Unified diff