Statistics
| Branch: | Tag: | Revision:

sssimulator / EventScheduler / action_event_struct.h @ af271552

History | View | Annotate | Download (426 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 __ACTION_EVENT_STRUCT_H__
10
#define __ACTION_EVENT_STRUCT_H__ 1
11

    
12
#include"action_event.h"
13

    
14
struct action_event {
15
        double time;
16
        action_event_func_t trigger;
17
        action_event_destroy_func_t destroy;
18
};
19

    
20
void action_event_init(struct action_event *ae, action_event_func_t t);
21

    
22
#endif