view dependency.h @ 39:6a367b5d9a2d

Separate UCC recording from VMS core and put it into SSR plugin
author Nina Engelhardt
date Mon, 05 Dec 2011 19:00:51 +0100
parents
children bde026832af7
line source
1 /*
2 * File: dependency.h
3 * Author: engelhardt
4 *
5 * Created on 29. August 2011, 17:41
6 */
8 #ifndef DEPENDENCY_H
9 #define DEPENDENCY_H
12 #include <stdio.h>
14 typedef struct {
15 int vp;
16 int task;
17 } Unit;
19 typedef struct {
20 int from_vp;
21 int from_task;
22 int to_vp;
23 int to_task;
24 } Dependency;
26 FILE* dependency_file;
28 Dependency* new_dependency(int from_vp, int from_task, int to_vp, int to_task);
30 int set_dependency_file(FILE* file);
32 void print_dependency_to_file(void* dep);
34 #endif /* DEPENDENCY_H */