Statistics
| Branch: | Revision:

streamers / streaming.h @ 46c24e94

History | View | Annotate | Download (356 Bytes)

1
#ifndef STREAMING_H
2
#define STREAMING_H
3

    
4
#include <stdbool.h>
5

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

    
12
#endif        /* STREAMING_H */