Change c types to rust types in high level function signatures
Fixed indentation