iLLD_TC27xD
1.0
|
Functions | |
IFX_EXTERN void * | Ifx_GlobalResources_get (sint32 id) |
IFX_EXTERN sint32 | Ifx_GlobalResources_getIndex (void *resource) |
Returns the global resource index. More... | |
IFX_EXTERN const Ifx_GlobalResources_Item * | Ifx_GlobalResources_getItem (sint32 id) |
IFX_EXTERN pchar | Ifx_GlobalResources_getName (sint32 id) |
IFX_EXTERN boolean | Ifx_GlobalResources_init (const Ifx_GlobalResources_Item *table, uint32 size) |
This module implements the global resources handling
IFX_EXTERN void* Ifx_GlobalResources_get | ( | sint32 | id) |
Return a pointer to the global resource
id | index of the Ifx_GlobalResources_Item in the table, the index starts with 0 |
Definition at line 38 of file Ifx_GlobalResources.c.
IFX_EXTERN sint32 Ifx_GlobalResources_getIndex | ( | void * | resource) |
Returns the global resource index.
Definition at line 62 of file Ifx_GlobalResources.c.
IFX_EXTERN const Ifx_GlobalResources_Item* Ifx_GlobalResources_getItem | ( | sint32 | id) |
Return a pointer to the global resource item
id | index of the Ifx_GlobalResources_Item in the table, the index starts with 0 |
Definition at line 86 of file Ifx_GlobalResources.c.
IFX_EXTERN pchar Ifx_GlobalResources_getName | ( | sint32 | id) |
Return a the resource name as an NULL terminated string
id | index of the Ifx_GlobalResources_Item in the table, the index starts with 0 |
Definition at line 110 of file Ifx_GlobalResources.c.
IFX_EXTERN boolean Ifx_GlobalResources_init | ( | const Ifx_GlobalResources_Item * | table, |
uint32 | size | ||
) |
Initialize the global resource handler
table | pointer to an array of Ifx_GlobalResources_Item |
size | number of item in the table corresponds to sizeof(table) |
return returns TRUE in case of success else FALSE
Definition at line 134 of file Ifx_GlobalResources.c.