1
#ifndef __LOCAL_PROTO_H__
2
#define __LOCAL_PROTO_H__
4
#include <grass/vector.h>
6
/*! Cache type (see Format_info_cache) */
7
#define CACHE_FEATURE 0
10
/* Internal vector library subroutines which are not part of public
14
int Vect__get_area_points(const struct Map_info *, const plus_t *, int, struct line_pnts *);
15
int Vect__get_area_points_nat(const struct Map_info *, const plus_t *, int, struct line_pnts *);
18
void Vect__free_cache(struct Format_info_cache *);
19
void Vect__free_offset(struct Format_info_offset *);
22
int Vect__copy_areas(const struct Map_info *, int, struct Map_info *);
25
int Vect__delete(const char *, int);
28
int Vect__open_old(struct Map_info *, const char *, const char *,
29
const char *, int, int, int);
30
char *Vect__get_path(const struct Map_info *);
31
char *Vect__get_element_path(const struct Map_info *, const char *);
34
int V2__add_line_to_topo_nat(struct Map_info *, off_t, int,
35
const struct line_pnts *, const struct line_cats *, int,
36
int (*external_routine) (const struct Map_info *, int));
37
int V2__delete_line_from_topo_nat(struct Map_info *, int, int,
38
const struct line_pnts *, const struct line_cats *);
41
off_t V2__write_area_sfa(struct Map_info *, const struct line_pnts **, int,
42
const struct line_cats *);
46
off_t V2__write_area_ogr(struct Map_info *, const struct line_pnts **, int,
47
const struct line_cats *);
50
#endif /* PG_LOCAL_PROTO_H__ */