Statistics
| Branch: | Tag: | Revision:

sssimulator / sched.h @ master

History | View | Annotate | Download (503 Bytes)

1
/*
2
 * This is SSSim: the Simple & Stupid Simulator
3
 *
4
 *  Copyright (c) 2008 Luca Abeni
5
 *  Copyright (c) 2008 Csaba Kiraly
6
 *
7
 *  This is free software; see gpl-3.0.txt
8
 */
9
#ifndef __SCHED_H__
10
#define __SCHED_H__ 1
11

    
12
void peer_send(struct peer *p, int t, int *chunk, struct peer **target);
13
void peer_send_chunk(struct peer *p, int t, int *chunk, struct peer *target);
14
void source_set(struct peer **neigh, int size, double * probs, int num_chunks);
15
void source_send(int t, struct peer **target);
16

    
17
#endif