summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/messagedata.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-08 10:28:49 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-11-12 13:25:40 +0100
commit257668dc5d4e0ba036bc4d5aef2925432d5d5af6 (patch)
tree717197f76c44410c036559f920293c94b57851d9 /cpukit/include/rtems/rtems/messagedata.h
parentrtems: Move internal structures to eventdata.h (diff)
downloadrtems-257668dc5d4e0ba036bc4d5aef2925432d5d5af6.tar.bz2
rtems: Move internal structures to messagedata.h
Update #3598.
Diffstat (limited to 'cpukit/include/rtems/rtems/messagedata.h')
-rw-r--r--cpukit/include/rtems/rtems/messagedata.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/cpukit/include/rtems/rtems/messagedata.h b/cpukit/include/rtems/rtems/messagedata.h
new file mode 100644
index 0000000000..be09d8ed86
--- /dev/null
+++ b/cpukit/include/rtems/rtems/messagedata.h
@@ -0,0 +1,54 @@
+/**
+ * @file
+ *
+ * @ingroup ClassicMessageQueue
+ *
+ * @brief Classic Message Queue Manager API
+ */
+
+/* COPYRIGHT (c) 1989-2013.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#ifndef _RTEMS_RTEMS_MESSAGEDATA_H
+#define _RTEMS_RTEMS_MESSAGEDATA_H
+
+#include <rtems/rtems/message.h>
+#include <rtems/score/object.h>
+#include <rtems/score/coremsg.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * @addtogroup ClassicMessageQueueImpl
+ *
+ * @{
+ */
+
+/**
+ * The following records define the control block used to manage
+ * each message queue.
+ */
+typedef struct {
+ /** This field is the inherited object characteristics. */
+ Objects_Control Object;
+ /** This field is the instance of the SuperCore Message Queue. */
+ CORE_message_queue_Control message_queue;
+ /** This field is the attribute set as defined by the API. */
+ rtems_attribute attribute_set;
+} Message_queue_Control;
+
+/** @} */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+/* end of include file */