source: rtems/cpukit/itron/include/rtems/itron/msgbuffer.h @ d280ce18

4.104.114.84.95
Last change on this file since d280ce18 was d280ce18, checked in by Joel Sherrill <joel.sherrill@…>, on 11/16/99 at 15:58:21

Comment fixed when adding prototype for
_ITRON_Message_buffer_Translate_core_message_buffer_return_code.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/*
2 *  The license and distribution terms for this file may be
3 *  found in the file LICENSE in this distribution or at
4 *  http://www.OARcorp.com/rtems/license.html.
5 *
6 *  $Id$
7 */
8
9#ifndef __RTEMS_ITRON_MESSAGEBUFFER_h_
10#define __RTEMS_ITRON_MESSAGEBUFFER_h_
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15   
16#include <rtems/itron/object.h>
17#include <rtems/score/coremsg.h>
18   
19/*
20 *  The following defines the control block used to manage each
21 *  message buffer.
22 */
23
24typedef struct {
25    ITRON_Objects_Control               Object;
26    boolean                             is_priority_blocking;
27    CORE_message_queue_Control          message_queue;
28}   ITRON_Message_buffer_Control;
29
30/*
31 *  The following defines the information control block used to manage
32 *  this class of objects.
33 */
34
35ITRON_EXTERN Objects_Information  _ITRON_Message_buffer_Information;
36
37/*
38 *  _ITRON_Message_buffer_Manager_initialization
39 *
40 *  DESCRIPTION:
41 *
42 *  This routine performs the initialization necessary for this manager.
43 */
44
45void _ITRON_Message_buffer_Manager_initialization(
46  unsigned32 maximum_message_buffers
47);
48
49/*
50 *  _ITRON_Message_buffer_Translate_core_message_buffer_return_code
51 *
52 *  DESCRIPTION:
53 *
54 *  This routine translates a core message buffer object status
55 *  into the appropriate ITRON status code.
56 */
57
58ER _ITRON_Message_buffer_Translate_core_message_buffer_return_code(
59  CORE_message_queue_Status status
60);
61
62#include <rtems/itron/msgbuffer.inl>
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif
69/* end of include file */
Note: See TracBrowser for help on using the repository browser.