aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim')
-rw-r--r--crates/shirabe-php-shim/src/lib.rs30
1 files changed, 30 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs
index c2a20cf..758dd1c 100644
--- a/crates/shirabe-php-shim/src/lib.rs
+++ b/crates/shirabe-php-shim/src/lib.rs
@@ -219,3 +219,33 @@ impl PharData {
todo!()
}
}
+
+pub fn class_exists(name: &str) -> bool {
+ todo!()
+}
+
+#[derive(Debug)]
+pub struct RarEntry;
+
+impl RarEntry {
+ pub fn extract(&self, path: &str) -> bool {
+ todo!()
+ }
+}
+
+#[derive(Debug)]
+pub struct RarArchive;
+
+impl RarArchive {
+ pub fn open(file: &str) -> Option<Self> {
+ todo!()
+ }
+
+ pub fn get_entries(&self) -> Option<Vec<RarEntry>> {
+ todo!()
+ }
+
+ pub fn close(&self) {
+ todo!()
+ }
+}