ROSS
util.h
Go to the documentation of this file.
1#ifndef INC_queue_util_h
2#define INC_queue_util_h
3
4#include "ross-types.h"
5
6// Executes a function (passed as a pointer) on every event and its lp
7void tw_walkthrough_events_in_queue(void (*) (tw_lp * lp, tw_event * event));
8// The functions below can only be used within `tw_walkthrough_events_in_queue`. Used anywhere else will result in undefined behavior
11
12// Executes a function (passed as a pointer) on every LP
13void tw_walkthrough_lps(void (*) (tw_lp * lp));
14
15#endif /* INC_queue_util_h */
Event Stucture.
Definition ross-types.h:277
LP State Structure.
Definition ross-types.h:336
void tw_change_timestamp_of_event_please(void)
void tw_delete_event_please(void)
void tw_walkthrough_lps(void(*)(tw_lp *lp))
void tw_walkthrough_events_in_queue(void(*)(tw_lp *lp, tw_event *event))