I found this a little unclear in the docs so I switched it around: I declare C structs in C code for anything that needs to be accessed in C functions. Then I import those into Zig and fill in there. I use “translate-c” for converting the .h interface files into Zig although @cImport is supposed to work for that too.