source: rtems/cpukit/rtems/macros/rtems/rtems/message.inl @ 27b299d9

4.104.114.84.95
Last change on this file since 27b299d9 was 27b299d9, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/21/05 at 07:39:58

New header guards.

  • Property mode set to 100644
File size: 1016 bytes
Line 
1/**
2 * @file rtems/rtems/message.inl
3 */
4
5/*
6 *  This include file contains the macro implementation of all
7 *  inlined routines in the Message Manager.
8 *
9 *  COPYRIGHT (c) 1989-1999.
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.com/license/LICENSE.
15 *
16 *  $Id$
17 */
18
19#ifndef _RTEMS_RTEMS_MESSAGE_INL
20#define _RTEMS_RTEMS_MESSAGE_INL
21
22/*PAGE
23 *
24 *  _Message_queue_Is_null
25 *
26 */
27
28#define _Message_queue_Is_null( _the_message_queue ) \
29   ( (_the_message_queue) == NULL  )
30
31/*PAGE
32 *
33 *  _Message_queue_Free
34 *
35 */
36
37#define _Message_queue_Free( _the_message_queue ) \
38  _Objects_Free( &_Message_queue_Information, &(_the_message_queue)->Object )
39
40/*PAGE
41 *
42 *  _Message_queue_Get
43 *
44 */
45
46#define _Message_queue_Get( _id, _location ) \
47  (Message_queue_Control *) \
48     _Objects_Get( &_Message_queue_Information, (_id), (_location) )
49
50#endif
51/* end of include file */
Note: See TracBrowser for help on using the repository browser.