1# raw_dir.h 2 3 4## Overview 5 6Provides functions related to the **rawfile** directory. These functions include traversing and closing rawfile directories. 7 8**Since**: 8 9 10**Related module**: [Rawfile] (rawfile.md) 11 12 13## Summary 14 15 16### Types 17 18| Name| Description| 19| -------- | -------- | 20| typedef struct [RawDir](rawfile.md#rawdir)[RawDir](rawfile.md#rawdir) | Provides access to the **rawfile** directory. | 21 22 23### Functions 24 25| Name| Description| 26| -------- | -------- | 27| const char \* [OH_ResourceManager_GetRawFileName](rawfile.md#oh_resourcemanager_getrawfilename) ([RawDir](rawfile.md#rawdir) \*rawDir, int index) | Obtains the name of a file in **rawfile** based on the index. | 28| int [OH_ResourceManager_GetRawFileCount](rawfile.md#oh_resourcemanager_getrawfilecount) ([RawDir](rawfile.md#rawdir) \*rawDir) | Obtains the number of files in the [RawDir](rawfile.md#rawdir) directory. | 29| void [OH_ResourceManager_CloseRawDir](rawfile.md#oh_resourcemanager_closerawdir) ([RawDir](rawfile.md#rawdir) \*rawDir) | Closes a [RawDir](rawfile.md#rawdir) and releases all associated resources. | 30