summaryrefslogblamecommitdiffstats
path: root/cpukit/rtems/macros/rtems/rtems/options.inl
blob: 727856b8105cad91a22955be69d22a15069bfd53 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                


                                                              
                            
                                                    
  

                                                           
                                         


























                                            
/**
 * @file rtems/rtems/options.inl
 */

/*
 *  This file contains the macro implementation of the inlined
 *  routines from the Options Handler.
 *
 *  COPYRIGHT (c) 1989-1999.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 *
 *  $Id$
 */

#ifndef __OPTIONS_inl
#define __OPTIONS_inl

/*PAGE
 *
 *  _Options_Is_no_wait
 *
 */

#define _Options_Is_no_wait( _option_set ) \
   ( (_option_set) & RTEMS_NO_WAIT )

/*PAGE
 *
 *  _Options_Is_any
 *
 */

#define _Options_Is_any( _option_set ) \
   ( (_option_set) & RTEMS_EVENT_ANY )

#endif
/* end of include file */