ohos_rawfile_sys/
lib.rs

1//! Bindings to the rawfile APIs
2//!
3//! ## Overview
4//!
5//! The OpenHarmony rawfile API allows the user to access so-called `rawfile`s that are bundled
6//! into the `hap` bundle.
7//!
8//! You can use the APIs to traverse, open, search for, read, and close raw files.
9//! The rawfile APIs are non-thread-safe. Only the close and open APIs are thread-safe.
10//!
11//! See also the [official rawfile documentation](https://docs.openharmony.cn/pages/v5.0/en/application-dev/reference/apis-localization-kit/rawfile.md).
12//!
13//!
14//! ## Feature flags
15#![cfg_attr(
16    feature = "document-features",
17    cfg_attr(doc, doc = ::document_features::document_features!())
18)]
19#![cfg_attr(docsrs, feature(doc_cfg))]
20
21extern "C" {}
22
23mod raw_file_types_ffi;
24pub use raw_file_types_ffi::*;
25
26#[cfg(feature = "_functions")]
27pub mod raw_dir;
28#[cfg(feature = "_functions")]
29pub mod raw_file;
30#[cfg(feature = "_functions")]
31pub mod raw_file_manager;