aboutsummaryrefslogtreecommitdiff
path: root/src/types.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2025-08-23 08:06:17 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2025-08-23 08:06:17 +0200
commit0a4c945e48717b24fdb6416e47bbb2fa2a7372b4 (patch)
treeff0fccabc742908e1e1df46d0556f467f91ffcfd /src/types.zig
parent5fdb94211781fe0a3e285c4b6d9d6e9cffced465 (diff)
add Fd type for requests
This is not tested code, since there are no requests implemented yet using file descriptors.
Diffstat (limited to 'src/types.zig')
-rw-r--r--src/types.zig4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/types.zig b/src/types.zig
index 2849af1..023f319 100644
--- a/src/types.zig
+++ b/src/types.zig
@@ -1,6 +1,8 @@
const std = @import("std");
-pub const Fd = struct { fd: std.posix.fd_t };
+pub const Fd = struct {
+ fd: std.posix.fd_t
+};
pub const Fixed = struct {
n: u24,