Making Fortran data structures accessible from C