Revision b4d038cb include/trade_sig_ha.h

View differences:

include/trade_sig_ha.h
14 14
#include "chunkidset.h"
15 15

  
16 16
enum signaling_type {
17
  sig_offer, sig_accept, sig_request, sig_deliver, sig_send_buffermap, sig_request_buffermap
17
  sig_offer, sig_accept, sig_request, sig_deliver, sig_send_buffermap, sig_request_buffermap, sig_ack,
18 18
};
19 19

  
20 20
/**
......
125 125
 */
126 126
int requestBufferMap(struct nodeID *to, const struct nodeID *owner, uint16_t trans_id);
127 127

  
128
/**
129
 * @brief Send an Acknoledgement to a Peer.
130
 *
131
 * Send (our own or some other peer's) BufferMap to a third Peer.
132
 *
133
 * @param[in] to PeerID.
134
 * @param[in] cset array of ChunkIDs. 
135
 * @param[in] trans_id transaction number associated with this send.
136
 * @return 1 Success, <0 on error.
137
 */
138
int sendAck(struct nodeID *to, struct chunkID_set *cset, uint16_t trans_id);
139

  
128 140
#endif //TRADE_SIG_HA_H 

Also available in: Unified diff