diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/litmus.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/litmus.h b/include/litmus.h index 05f6d3c..2aac46f 100644 --- a/include/litmus.h +++ b/include/litmus.h | |||
@@ -75,7 +75,13 @@ int scheduler_setup(int cmd, void* param); | |||
75 | 75 | ||
76 | 76 | ||
77 | /* file descriptor attached shared objects support */ | 77 | /* file descriptor attached shared objects support */ |
78 | int od_open(int fd, int type, int obj_id); | 78 | |
79 | typedef enum { | ||
80 | PI_SEM = 0, | ||
81 | SRP_SEM = 1, | ||
82 | ICS_ID = 2, | ||
83 | } obj_type_t; | ||
84 | int od_open(int fd, obj_type_t type, int obj_id); | ||
79 | int od_close(int od); | 85 | int od_close(int od); |
80 | 86 | ||
81 | /* FMLP support */ | 87 | /* FMLP support */ |