source: rtems/cpukit/include/rtems/rtems/messagedata.h @ a6e7d5e4

Last change on this file since a6e7d5e4 was a6e7d5e4, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 12, 2018 at 8:00:36 AM

score: Move internal structures to objectdata.h

Update #3598.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup ClassicMessageQueue
5 *
6 * @brief Classic Message Queue Manager API
7 */
8
9/* COPYRIGHT (c) 1989-2013.
10 * On-Line Applications Research Corporation (OAR).
11 *
12 * The license and distribution terms for this file may be
13 * found in the file LICENSE in this distribution or at
14 * http://www.rtems.org/license/LICENSE.
15 */
16
17#ifndef _RTEMS_RTEMS_MESSAGEDATA_H
18#define _RTEMS_RTEMS_MESSAGEDATA_H
19
20#include <rtems/rtems/message.h>
21#include <rtems/score/coremsg.h>
22#include <rtems/score/objectdata.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28/**
29 * @addtogroup ClassicMessageQueueImpl
30 *
31 * @{
32 */
33
34/**
35 *  The following records define the control block used to manage
36 *  each message queue.
37 */
38typedef struct {
39  /** This field is the inherited object characteristics. */
40  Objects_Control             Object;
41  /** This field is the instance of the SuperCore Message Queue. */
42  CORE_message_queue_Control  message_queue;
43  /** This field is the attribute set as defined by the API. */
44  rtems_attribute             attribute_set;
45}   Message_queue_Control;
46
47/** @} */
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif
54/* end of include file */
Note: See TracBrowser for help on using the repository browser.