# raw_dir.h ## Overview Provides functions related to the **rawfile** directory. These functions include traversing and closing rawfile directories. **Since**: 8 **Related module**: [Rawfile] (rawfile.md) ## Summary ### Types | Name| Description| | -------- | -------- | | typedef struct [RawDir](rawfile.md#rawdir)[RawDir](rawfile.md#rawdir) | Provides access to the **rawfile** directory. | ### Functions | Name| Description| | -------- | -------- | | 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. | | 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. | | 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. |