aboutsummaryrefslogtreecommitdiff
path: root/src/darwin_c.zig
diff options
context:
space:
mode:
authorGravatar Dylan Conway <dylan.conway567@gmail.com> 2023-10-17 14:10:25 -0700
committerGravatar Dylan Conway <dylan.conway567@gmail.com> 2023-10-17 14:10:25 -0700
commit7458b969c5d9971e89d187b687e1924e78da427e (patch)
treeee3dbf95c728cf407bf49a27826b541e9264a8bd /src/darwin_c.zig
parentd4a2c29131ec154f5e4db897d4deedab2002cbc4 (diff)
parente91436e5248d947b50f90b4a7402690be8a41f39 (diff)
downloadbun-7458b969c5d9971e89d187b687e1924e78da427e.tar.gz
bun-7458b969c5d9971e89d187b687e1924e78da427e.tar.zst
bun-7458b969c5d9971e89d187b687e1924e78da427e.zip
Merge branch 'main' into postinstall_3
Diffstat (limited to 'src/darwin_c.zig')
-rw-r--r--src/darwin_c.zig23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/darwin_c.zig b/src/darwin_c.zig
index 1e494db47..3d3b28f3f 100644
--- a/src/darwin_c.zig
+++ b/src/darwin_c.zig
@@ -728,29 +728,6 @@ const IO_CTL_RELATED = struct {
pub usingnamespace IO_CTL_RELATED;
-pub const RemoveFileFlags = struct {
- /// If path is a directory, recurse (depth first traversal)
- pub const recursive: u32 = (1 << 0);
- /// Remove contents but not directory itself
- pub const keep_parent: u32 = (1 << 1);
- /// 7 pass DoD algorithm
- pub const secure_7_pass: u32 = (1 << 2);
- /// 35-pass Gutmann algorithm (overrides REMOVEFILE_SECURE_7_PASS)
- pub const secure_35_pass: u32 = (1 << 3);
- /// 1 pass single overwrite),
- pub const secure_1_pass: u32 = (1 << 4);
- /// 3 pass overwrite
- pub const secure_3_pass: u32 = (1 << 5);
- /// Single-pass overwrite, with 0 instead of random data
- pub const secure_1_pass_zero: u32 = (1 << 6);
- /// Cross mountpoints when deleting recursively. << 6),
- pub const cross_mount: u32 = (1 << 7);
- /// Paths may be longer than PATH_MAX - requires temporarily changing cwd
- pub const allow_long_paths: u32 = (1 << 8);
-};
-pub const removefile_state_t = opaque {};
-pub extern fn removefileat(fd: c_int, path: [*c]const u8, state: ?*removefile_state_t, flags: u32) c_int;
-
// As of Zig v0.11.0-dev.1393+38eebf3c4, ifaddrs.h is not included in the headers
pub const ifaddrs = extern struct {
ifa_next: ?*ifaddrs,