diff --git a/types.odin b/types.odin index 98ed1a7..dcc9ee9 100644 --- a/types.odin +++ b/types.odin @@ -19,3 +19,18 @@ Sys_statvfs :: struct { __f_spare: [6]c.int } + +Partition :: struct { + major: int, + minor: int, + blocks: f64, + name: string +} + +Process :: struct { + name: string, + command: string, + pid: int, + cpu_usage: int, + memory_usage: int, +}