diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-11-15 22:39:59 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-11-15 22:39:59 -0500 |
commit | d5e648be51bbcab442199c64fadd35c935c81620 (patch) | |
tree | 8128ae3704009106a2439ed4f30a7d52f529d259 /include | |
parent | 0ba99fc3d11337493d81828357f70ec24da9443e (diff) |
FDSO: make types available to user space
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 */ |