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

5
Last change on this file since b7af3e44 was 257668d, checked in by Sebastian Huber <sebastian.huber@…>, on 11/08/18 at 09:28:49

rtems: Move internal structures to messagedata.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/object.h>
22#include <rtems/score/coremsg.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.