RTEMS
|
The User Extensions Manager allows the application developer to augment the executive by allowing them to supply extension routines which are invoked at critical system events. More...
Files | |
file | extension.h |
This header file defines the User Extensions Manager API. | |
Functions | |
rtems_status_code | rtems_extension_create (rtems_name name, const rtems_extensions_table *extension_table, rtems_id *id) |
% More... | |
rtems_status_code | rtems_extension_delete (rtems_id id) |
% More... | |
rtems_status_code | rtems_extension_ident (rtems_name name, rtems_id *id) |
Identifies an extension set object by the specified object name. More... | |
The User Extensions Manager allows the application developer to augment the executive by allowing them to supply extension routines which are invoked at critical system events.
rtems_status_code rtems_extension_create | ( | rtems_name | name, |
const rtems_extensions_table * | extension_table, | ||
rtems_id * | id | ||
) |
rtems_status_code rtems_extension_delete | ( | rtems_id | id | ) |
rtems_status_code rtems_extension_ident | ( | rtems_name | name, |
rtems_id * | id | ||
) |
Identifies an extension set object by the specified object name.
This directive obtains the extension set identifier associated with the extension set name specified in name
.
If the extension set name is not unique, then the extension set identifier will match the first extension set with that name in the search order. However, this extension set identifier is not guaranteed to correspond to the desired extension set. The extension set identifier is used with other extension related directives to access the extension set.
The objects are searched from lowest to the highest index. Only the local node is searched.
name | is the object name to look up. | |
[out] | id | is the pointer to an object identifier variable. The object identifier of an object with the specified name will be stored in this variable, in case of a successful operation. |
RTEMS_SUCCESSFUL | The requested operation was successful. |
RTEMS_INVALID_ADDRESS | The id parameter was NULL. |
RTEMS_INVALID_NAME | The name parameter was 0. |
RTEMS_INVALID_NAME | There was no object with the specified name on the local node. |
Definition at line 44 of file extensionident.c.