Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > SSR_impls > SSR__MC_shared_impl
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dependency.h Mon Dec 05 19:00:51 2011 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +/* 1.5 + * File: dependency.h 1.6 + * Author: engelhardt 1.7 + * 1.8 + * Created on 29. August 2011, 17:41 1.9 + */ 1.10 + 1.11 +#ifndef DEPENDENCY_H 1.12 +#define DEPENDENCY_H 1.13 + 1.14 + 1.15 +#include <stdio.h> 1.16 + 1.17 +typedef struct { 1.18 + int vp; 1.19 + int task; 1.20 +} Unit; 1.21 + 1.22 +typedef struct { 1.23 + int from_vp; 1.24 + int from_task; 1.25 + int to_vp; 1.26 + int to_task; 1.27 +} Dependency; 1.28 + 1.29 +FILE* dependency_file; 1.30 + 1.31 +Dependency* new_dependency(int from_vp, int from_task, int to_vp, int to_task); 1.32 + 1.33 +int set_dependency_file(FILE* file); 1.34 + 1.35 +void print_dependency_to_file(void* dep); 1.36 + 1.37 +#endif /* DEPENDENCY_H */ 1.38 +
