Revision 685225b2 streaming.h

View differences:

streaming.h
13 13
int source_init(const char *fname, struct nodeID *myID, bool loop);
14 14
void received_chunk(struct nodeID *from, const uint8_t *buff, int len);
15 15
void send_chunk();
16
int generated_chunk(suseconds_t *delta);
16
struct chunk *generated_chunk(suseconds_t *delta);
17
int add_chunk(struct chunk *c);
17 18
struct chunkID_set *get_chunks_to_accept(struct peer *from, const struct chunkID_set *cset_off, int max_deliver, int trans_id);
18 19
void send_offer();
19 20
void send_accepted_chunks(struct peer *to, struct chunkID_set *cset_acc, int max_deliver, int trans_id);

Also available in: Unified diff