Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > SSR_impls > SSR__MC_shared_impl
comparison 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 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:2ab37384c0ae |
|---|---|
| 1 /* | |
| 2 * File: dependency.h | |
| 3 * Author: engelhardt | |
| 4 * | |
| 5 * Created on 29. August 2011, 17:41 | |
| 6 */ | |
| 7 | |
| 8 #ifndef DEPENDENCY_H | |
| 9 #define DEPENDENCY_H | |
| 10 | |
| 11 | |
| 12 #include <stdio.h> | |
| 13 | |
| 14 typedef struct { | |
| 15 int vp; | |
| 16 int task; | |
| 17 } Unit; | |
| 18 | |
| 19 typedef struct { | |
| 20 int from_vp; | |
| 21 int from_task; | |
| 22 int to_vp; | |
| 23 int to_task; | |
| 24 } Dependency; | |
| 25 | |
| 26 FILE* dependency_file; | |
| 27 | |
| 28 Dependency* new_dependency(int from_vp, int from_task, int to_vp, int to_task); | |
| 29 | |
| 30 int set_dependency_file(FILE* file); | |
| 31 | |
| 32 void print_dependency_to_file(void* dep); | |
| 33 | |
| 34 #endif /* DEPENDENCY_H */ | |
| 35 |
