aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2007-11-15 22:39:59 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2007-11-15 22:39:59 -0500
commitd5e648be51bbcab442199c64fadd35c935c81620 (patch)
tree8128ae3704009106a2439ed4f30a7d52f529d259 /include
parent0ba99fc3d11337493d81828357f70ec24da9443e (diff)
FDSO: make types available to user space
Diffstat (limited to 'include')
-rw-r--r--include/litmus.h8
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 */
78int od_open(int fd, int type, int obj_id); 78
79typedef enum {
80 PI_SEM = 0,
81 SRP_SEM = 1,
82 ICS_ID = 2,
83} obj_type_t;
84int od_open(int fd, obj_type_t type, int obj_id);
79int od_close(int od); 85int od_close(int od);
80 86
81/* FMLP support */ 87/* FMLP support */