| 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 */
|
|---|
| 22 | int Vect__get_area_points(const struct Map_info *, const plus_t *, int, struct line_pnts *);
|
|---|
| 23 | int Vect__get_area_points_nat(const struct Map_info *, const plus_t *, int, struct line_pnts *);
|
|---|
| 24 |
|
|---|
| 25 | /* close.c */
|
|---|
| 26 | void Vect__free_cache(struct Format_info_cache *);
|
|---|
| 27 | void Vect__free_offset(struct Format_info_offset *);
|
|---|
| 28 |
|
|---|
| 29 | /* copy.c */
|
|---|
| 30 | int Vect__copy_areas(const struct Map_info *, int, struct Map_info *);
|
|---|
| 31 |
|
|---|
| 32 | /* map.c */
|
|---|
| 33 | int Vect__delete(const char *, int);
|
|---|
| 34 |
|
|---|
| 35 | /* open.c */
|
|---|
| 36 | int Vect__open_old(struct Map_info *, const char *, const char *,
|
|---|
| 37 | const char *, int, int, int);
|
|---|
| 38 | char *Vect__get_path(char *, const struct Map_info *);
|
|---|
| 39 | char *Vect__get_element_path(char *, const struct Map_info *, const char *);
|
|---|
| 40 |
|
|---|
| 41 | /* write_nat.c */
|
|---|
| 42 | int 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));
|
|---|
| 45 | int 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 */
|
|---|
| 49 | off_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
|
|---|
| 54 | off_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__ */
|
|---|