source: rtems/c/src/exec/rtems/macros/message.inl @ 60b791ad

4.104.114.84.95
Last change on this file since 60b791ad was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on 02/17/98 at 23:46:28

updated copyright to 1998

  • Property mode set to 100644
File size: 1.0 KB
Line 
1/*  message.inl
2 *
3 *  This include file contains the macro implementation of all
4 *  inlined routines in the Message Manager.
5 *
6 *  COPYRIGHT (c) 1989-1998.
7 *  On-Line Applications Research Corporation (OAR).
8 *  Copyright assigned to U.S. Government, 1994.
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.OARcorp.com/rtems/license.html.
13 *
14 *  $Id$
15 */
16
17#ifndef __MESSAGE_QUEUE_inl
18#define __MESSAGE_QUEUE_inl
19
20/*PAGE
21 *
22 *  _Message_queue_Is_null
23 *
24 */
25
26#define _Message_queue_Is_null( _the_message_queue ) \
27   ( (_the_message_queue) == NULL  )
28
29/*PAGE
30 *
31 *  _Message_queue_Free
32 *
33 */
34
35#define _Message_queue_Free( _the_message_queue ) \
36  _Objects_Free( &_Message_queue_Information, &(_the_message_queue)->Object )
37
38/*PAGE
39 *
40 *  _Message_queue_Get
41 *
42 */
43
44#define _Message_queue_Get( _id, _location ) \
45  (Message_queue_Control *) \
46     _Objects_Get( &_Message_queue_Information, (_id), (_location) )
47
48#endif
49/* end of include file */
Note: See TracBrowser for help on using the repository browser.