#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <grass/Vect.h>

Go to the source code of this file.
Functions | |
| int | Vect_hist_command (struct Map_info *Map) |
| Write command info to history file. | |
| int | Vect_hist_write (struct Map_info *Map, const char *str) |
| Write string to history file. | |
| char * | Vect_hist_read (char *s, int size, struct Map_info *Map) |
| Reads one line from history file without newline character. | |
| void | Vect_hist_rewind (struct Map_info *Map) |
| Rewind history file. | |
| int | Vect_hist_copy (struct Map_info *In, struct Map_info *Out) |
| Copy history from one map to another. | |
Higher level functions for reading/writing/manipulating vectors.
(C) 2001-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file hist.c.
| int Vect_hist_command | ( | struct Map_info * | Map | ) |
Write command info to history file.
| Map | vector map |
-1 error
Definition at line 33 of file hist.c.
References Vect_hist_write().
| int Vect_hist_copy | ( | struct Map_info * | In, | |
| struct Map_info * | Out | |||
| ) |
Copy history from one map to another.
| In | input vector map | |
| Out | output vector map |
-1 error
Definition at line 125 of file hist.c.
References Vect_hist_write().
| char* Vect_hist_read | ( | char * | s, | |
| int | size, | |||
| struct Map_info * | Map | |||
| ) |
| void Vect_hist_rewind | ( | struct Map_info * | Map | ) |
| int Vect_hist_write | ( | struct Map_info * | Map, | |
| const char * | str | |||
| ) |
Write string to history file.
| Map | vector map | |
| str | string to write |
Definition at line 62 of file hist.c.
Referenced by Vect__open_old(), Vect_hist_command(), and Vect_hist_copy().
1.5.6