sssimulator / peer_event.h @ 659ba19d
History | View | Annotate | Download (574 Bytes)
1 |
/*
|
---|---|
2 |
* this is sssim: the simple & stupid simulator
|
3 |
*
|
4 |
* copyright (c) 2015 luca baldesi
|
5 |
*
|
6 |
* this is free software; see gpl-3.0.txt
|
7 |
*/
|
8 |
|
9 |
#ifndef __PEER_EVENT_H__
|
10 |
#define __PEER_EVENT_H__ 1 |
11 |
|
12 |
#include<action_event.h> |
13 |
#include<event_scheduler.h> |
14 |
|
15 |
#include "core.h" |
16 |
#include "ed.h" |
17 |
|
18 |
struct ed_simulator;
|
19 |
|
20 |
struct action_event * peer_offer_event_new(struct ed_simulator * eds, struct peer *src); |
21 |
|
22 |
struct action_event * peer_reception_event_new(struct ed_simulator * eds, struct peer* dst,int chunk); |
23 |
|
24 |
struct action_event * source_event_new(struct ed_simulator * eds); |
25 |
|
26 |
#endif
|