]> rtime.felk.cvut.cz Git - frescor/fna.git/blobdiff - src_frescan/frescan_reply_objs.h
renamings... redo the request and messages part... also now there will be two threads...
[frescor/fna.git] / src_frescan / frescan_reply_objs.h
diff --git a/src_frescan/frescan_reply_objs.h b/src_frescan/frescan_reply_objs.h
deleted file mode 100644 (file)
index 07bcdcd..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*!
- * @file frescan_reply_objs.h
- *
- * @brief FRESCAN reply objects
- *
- * This module contains the definition of the data object and operations to
- * create a pool of objects, obtain the id of an unused object, wait upon it,
- * signal it, and finish using it.
- *
- * @version 0.01
- *
- * @date 1-Apr-2008
- *
- * @author Daniel Sangorrin <daniel.sangorrin@unican.es>
- *
- */
-
-#ifndef _FRESCAN_REPLY_OBJECTS_H_
-#define _FRESCAN_REPLY_OBJECTS_H_
-
-#include <time.h> /* for timespec */
-#include "fosa_opaque_types.h" /* for FOSA_ETIMEDOUT */
-
-typedef unsigned int frescan_robj_id_t; /* 0 .. MX_REPLY_OBJECTS-1 */
-#define FRESCAN_ETIMEDOUT FOSA_ETIMEDOUT
-
-extern int frescan_replyobjects_init(int max_ceiling);
-extern int frescan_replyobject_alloc(frescan_robj_id_t *id, int ceiling);
-extern int frescan_replyobject_free(frescan_robj_id_t id);
-extern int frescan_replyobject_signal(frescan_robj_id_t id);
-extern int frescan_replyobject_wait(frescan_robj_id_t id);
-extern int frescan_replyobject_timedwait(frescan_robj_id_t id,
-                                         const struct timespec *abstime);
-
-#endif // _FRESCAN_REPLY_OBJECTS_H_