fix: fix header namespaces and C decls
Add the missing 'cahute__' namespacing for some public function and struct declarations, and also englobe struct declarations in C declaration blocks.
Add the missing 'cahute__' namespacing for some public function and struct declarations, and also englobe struct declarations in C declaration blocks.