source: grass/trunk/lib/vector/Vlib/local_proto.h

Last change on this file was 65677, checked in by martinl, 9 years ago

vlib: fix GRASS_VECTOR_TEMPORARY when creating temporary maps using Vect_open_new_tmp()

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr
File size: 1.9 KB
Line 
1#ifndef __LOCAL_PROTO_H__
2#define __LOCAL_PROTO_H__
3
4#include <grass/vector.h>
5
6/*! Cache type (see Format_info_cache) */
7#define CACHE_FEATURE 0
8#define CACHE_MAP 1
9
10/*! Attributes of temporary maps */
11/* #define TEMPORARY_MAP_DB */
12
13/*! Temporary mode */
14#define TEMPORARY_MAP_DISABLED 0
15#define TEMPORARY_MAP_ENV 1
16#define TEMPORARY_MAP 2
17
18/* Internal vector library subroutines which are not part of public
19 API*/
20
21/* area.c */
22int Vect__get_area_points(const struct Map_info *, const plus_t *, int, struct line_pnts *);
23int Vect__get_area_points_nat(const struct Map_info *, const plus_t *, int, struct line_pnts *);
24
25/* close.c */
26void Vect__free_cache(struct Format_info_cache *);
27void Vect__free_offset(struct Format_info_offset *);
28
29/* copy.c */
30int Vect__copy_areas(const struct Map_info *, int, struct Map_info *);
31
32/* map.c */
33int Vect__delete(const char *, int);
34
35/* open.c */
36int Vect__open_old(struct Map_info *, const char *, const char *,
37 const char *, int, int, int);
38char *Vect__get_path(char *, const struct Map_info *);
39char *Vect__get_element_path(char *, const struct Map_info *, const char *);
40
41/* write_nat.c */
42int V2__add_line_to_topo_nat(struct Map_info *, off_t, int,
43 const struct line_pnts *, const struct line_cats *, int,
44 int (*external_routine) (const struct Map_info *, int));
45int V2__delete_line_from_topo_nat(struct Map_info *, int, int,
46 const struct line_pnts *, const struct line_cats *);
47
48/* write_sfa.c */
49off_t V2__write_area_sfa(struct Map_info *, const struct line_pnts **, int,
50 const struct line_cats *);
51
52/* write_ogr.c */
53#ifdef HAVE_OGR
54off_t V2__write_area_ogr(struct Map_info *, const struct line_pnts **, int,
55 const struct line_cats *);
56#endif /* HAVE_OGR */
57
58#endif /* PG_LOCAL_PROTO_H__ */
Note: See TracBrowser for help on using the repository browser.