Defines |
|
#define | R_RES_LIST_FLAG_STATIC |
| | Indicates that the resource list item has been statically declared.
|
|
#define | R_RES_LIST_FLAG_COPY |
| | Indicates that the resource list item is a dynamically allocated copy.
|
|
#define | R_RES_LIST_FLAG_READ_ONLY |
| | Indicates that the resource list item is read-only.
|
|
#define | R_RES_END_OF_LIST |
| | The mandatory marker indicating the end of a resource list.
|
| #define | R_RES_END_OF_LIST_READ_ONLY |
| | The mandatory marker indicating the end of a resource list. More...
|
Typedefs |
| typedef struct r_res_item_st | R_RES_ITEM |
| | The resource item. More...
|
| typedef R_RES_ITEM | R_RES_LIST |
| | The resource list. More...
|
| typedef int | R_RES_FLAG |
| | Indicates the type of the resource flag. More...
|
Functions |
| int R_CDECL | R_RES_LIST_set_resource (R_RES_LIST *res_list, int mod_id, int impl_id, int sub_id, R_RES_FLAG flag, int res_type, void *data) |
| | Sets resource data into a resource item in the resource list. More...
|
| int R_CDECL | R_RES_LIST_get_resource (R_RES_LIST *res_list, int mod_id, int imp_id, int sub_id, R_RES_FLAG flag, int res_type, void **data) |
| | Retrieves resource data from a resource item in the resource list. More...
|
| int R_CDECL | R_RES_LIST_get_item (R_RES_LIST *res_list, int mod_id, int imp_id, int sub_id, R_RES_FLAG flag, R_RES_ITEM **data, R_RES_LIST **next) |
| | Retrieves an item from the resource list. More...
|
| int R_CDECL | R_RES_LIST_set_item (R_RES_LIST **res_list, int action, R_RES_ITEM *item) |
| | Adds a resource item into or removes a resource item from the resource list. More...
|
| int R_CDECL | R_RES_LIST_get_num_entries (R_RES_LIST *res_list, int *count) |
| | Calculates the number of entries/items in the resource list. More...
|
| int R_CDECL | R_RES_LIST_check_writable (R_RES_LIST *res_list) |
| | Checks that the resource list is able to be written to. More...
|
| int R_CDECL | R_RES_LIST_set_writable (R_RES_LIST *res_list, int flag) |
| | Makes the resource list writable and sets flags. More...
|
| int R_CDECL | R_RES_LIST_lib_finish (R_RES_LIST *res_list, R_RES_ITEM *item, void **imp_data) |
| | Disposes of the resource list if the list is a copy. More...
|
| int R_CDECL | R_RES_LIST_free (R_RES_LIST *res_list) |
| | Disposes of the resource list if it is a copy. More...
|
| int R_CDECL | R_RES_LIST_join (R_RES_LIST **new_list, R_RES_LIST *append_list) |
| | Appends one resource list onto the end of another. More...
|
| int R_CDECL | R_RES_LIST_dup (R_RES_LIST **new_list, R_RES_LIST *res_list) |
| | Duplicates the items of one resource list on to the end of another. More...
|