RTEMS
objectgetinfoid.c
Go to the documentation of this file.
1 
9 /*
10  * COPYRIGHT (c) 1989-2008.
11  * On-Line Applications Research Corporation (OAR).
12  *
13  * The license and distribution terms for this file may be
14  * found in the file LICENSE in this distribution or at
15  * http://www.rtems.org/license/LICENSE.
16  */
17 
18 #ifdef HAVE_CONFIG_H
19 #include "config.h"
20 #endif
21 
22 #include <rtems/score/objectimpl.h>
23 
25  Objects_Id id
26 )
27 {
29  _Objects_Get_API( id ),
30  _Objects_Get_class( id )
31  );
32 }
Objects_Information * _Objects_Get_information(Objects_APIs the_api, uint16_t the_class)
Gets object information.
Definition: objectgetinfo.c:23
Objects_Information * _Objects_Get_information_id(Objects_Id id)
Gets information of an object from an ID.
Inlined Routines in the Object Handler.
The information structure used to manage each API class of objects.
Definition: objectdata.h:176
static __inline__ uint32_t _Objects_Get_class(Objects_Id id)
Returns the class portion of the ID.
Definition: object.h:269
uint32_t Objects_Id
Definition: object.h:80
static __inline__ Objects_APIs _Objects_Get_API(Objects_Id id)
Returns the API portion of the ID.
Definition: object.h:255