GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
|
Go to the source code of this file.
Functions | |
int | dig__write_head (struct Map_info *Map) |
int | dig__read_head (struct Map_info *Map) |
int dig__read_head | ( | struct Map_info * | Map | ) |
Definition at line 83 of file head.c.
References Version_info::back_major, Version_info::back_minor, Port_info::byte_order, dig_head::coor_version, dig__fread_port_C(), dig__fread_port_L(), dig__fread_port_O(), Map_info::dig_fp, dig_fseek(), dig_init_portable(), dig_set_cur_port(), G_debug(), G_fatal_error(), G_warning(), GV_COOR_HEAD_SIZE, GV_COOR_VER_MAJOR, GV_COOR_VER_MINOR, Map_info::head, dig_head::head_size, Version_info::major, Version_info::minor, Map_info::name, dig_head::port, PORT_LONG_MAX, PRI_OFF_T, dig_head::size, and dig_head::with_z.
Referenced by V1_open_old_nat().
int dig__write_head | ( | struct Map_info * | Map | ) |
Definition at line 22 of file head.c.
References Version_info::back_major, Version_info::back_minor, Port_info::byte_order, dig_head::coor_version, dig__fwrite_port_C(), dig__fwrite_port_L(), dig__fwrite_port_O(), Map_info::dig_fp, dig_fseek(), dig_ftell(), dig_set_cur_port(), G_debug(), GV_COOR_HEAD_SIZE, Map_info::head, dig_head::head_size, Version_info::major, Version_info::minor, dig_head::port, PORT_LONG_MAX, PRI_OFF_T, dig_head::size, and dig_head::with_z.
Referenced by V1_close_nat(), and V1_open_new_nat().