dump struct from c source code