From d5e648be51bbcab442199c64fadd35c935c81620 Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Thu, 15 Nov 2007 22:39:59 -0500 Subject: FDSO: make types available to user space --- include/litmus.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include') 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); /* file descriptor attached shared objects support */ -int od_open(int fd, int type, int obj_id); + +typedef enum { + PI_SEM = 0, + SRP_SEM = 1, + ICS_ID = 2, +} obj_type_t; +int od_open(int fd, obj_type_t type, int obj_id); int od_close(int od); /* FMLP support */ -- cgit v1.2.2