#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Go to the source code of this file.
Functions | |
long | dig_ftell (GVFILE *file) |
int | dig_fseek (GVFILE *file, long offset, int whence) |
void | dig_rewind (GVFILE *file) |
int | dig_fflush (GVFILE *file) |
size_t | dig_fread (void *ptr, size_t size, size_t nmemb, GVFILE *file) |
size_t | dig_fwrite (void *ptr, size_t size, size_t nmemb, GVFILE *file) |
void | dig_file_init (GVFILE *file) |
int | dig_file_load (GVFILE *file) |
void | dig_file_free (GVFILE *file) |
int dig_fflush | ( | GVFILE * | file | ) |
Definition at line 87 of file file.c.
Referenced by dig_write_plus_file(), main(), V1__rewrite_line_nat(), and V1_delete_line_nat().
void dig_file_free | ( | GVFILE * | file | ) |
void dig_file_init | ( | GVFILE * | file | ) |
Definition at line 142 of file file.c.
Referenced by V1_open_new_nat(), V1_open_old_nat(), Vect_cidx_open(), Vect_cidx_save(), Vect_open_spatial_index(), Vect_open_topo(), Vect_save_spatial_index(), and Vect_save_topo().
int dig_file_load | ( | GVFILE * | file | ) |
size_t dig_fread | ( | void * | ptr, | |
size_t | size, | |||
size_t | nmemb, | |||
GVFILE * | file | |||
) |
Definition at line 101 of file file.c.
Referenced by dig__fread_port_C(), dig__fread_port_D(), dig__fread_port_F(), dig__fread_port_I(), dig__fread_port_L(), and dig__fread_port_S().
int dig_fseek | ( | GVFILE * | file, | |
long | offset, | |||
int | whence | |||
) |
Definition at line 48 of file file.c.
Referenced by dig__read_head(), dig__write_head(), dig_load_plus(), dig_Rd_Plus_head(), dig_Rd_spindx_head(), dig_read_cidx(), dig_read_cidx_head(), dig_read_spidx(), main(), V1__rewrite_line_nat(), V1_delete_line_nat(), V1_rewind_nat(), V1_rewrite_line_nat(), V1_write_line_nat(), Vect__Read_line_nat(), and Vect_coor_info().
long dig_ftell | ( | GVFILE * | file | ) |
Definition at line 35 of file file.c.
Referenced by dig__write_head(), dig_Wr_Plus_head(), dig_Wr_spindx_head(), dig_write_areas(), dig_write_cidx(), dig_write_cidx_head(), dig_write_isles(), dig_write_lines(), dig_write_nodes(), dig_write_spidx(), V1_read_next_line_nat(), V1_rewrite_line_nat(), V1_write_line_nat(), Vect__Read_line_nat(), and Vect_coor_info().
size_t dig_fwrite | ( | void * | ptr, | |
size_t | size, | |||
size_t | nmemb, | |||
GVFILE * | file | |||
) |
Definition at line 128 of file file.c.
Referenced by dig__fwrite_port_C(), dig__fwrite_port_D(), dig__fwrite_port_F(), dig__fwrite_port_I(), dig__fwrite_port_L(), and dig__fwrite_port_S().
void dig_rewind | ( | GVFILE * | file | ) |
Definition at line 73 of file file.c.
Referenced by dig_Rd_Plus_head(), dig_Rd_spindx_head(), dig_read_cidx(), dig_read_cidx_head(), dig_read_spidx(), dig_Wr_Plus_head(), dig_Wr_spindx_head(), dig_write_cidx(), dig_write_cidx_head(), dig_write_plus_file(), and dig_write_spidx().