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

4.104.114.84.95
Last change on this file since df49c60 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 985 bytes
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-1999.
7 *  On-Line Applications Research Corporation (OAR).
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.OARcorp.com/rtems/license.html.
12 *
13 *  $Id$
14 */
15
16#ifndef __MESSAGE_QUEUE_inl
17#define __MESSAGE_QUEUE_inl
18
19/*PAGE
20 *
21 *  _Message_queue_Is_null
22 *
23 */
24
25#define _Message_queue_Is_null( _the_message_queue ) \
26   ( (_the_message_queue) == NULL  )
27
28/*PAGE
29 *
30 *  _Message_queue_Free
31 *
32 */
33
34#define _Message_queue_Free( _the_message_queue ) \
35  _Objects_Free( &_Message_queue_Information, &(_the_message_queue)->Object )
36
37/*PAGE
38 *
39 *  _Message_queue_Get
40 *
41 */
42
43#define _Message_queue_Get( _id, _location ) \
44  (Message_queue_Control *) \
45     _Objects_Get( &_Message_queue_Information, (_id), (_location) )
46
47#endif
48/* end of include file */
Note: See TracBrowser for help on using the repository browser.