Revision 46c24e94 streaming.h

View differences:

streaming.h
1 1
#ifndef STREAMING_H
2 2
#define STREAMING_H
3 3

  
4
#include <stdbool.h>
5

  
4 6
void stream_init(int size, struct nodeID *myID);
5
int source_init(const char *fname, struct nodeID *myID);
7
int source_init(const char *fname, struct nodeID *myID, bool loop);
6 8
void received_chunk(const uint8_t *buff, int len);
7 9
void send_chunk(const struct nodeID **neighbours, int n);
8 10
int generated_chunk(suseconds_t *delta);

Also available in: Unified diff