local_proto.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef __LOCAL_PROTO_H__
  2. #define __LOCAL_PROTO_H__
  3. #include <grass/vector.h>
  4. /* Internal vector library subroutines which are not part of public
  5. API*/
  6. /* area.c */
  7. int Vect__get_area_points(const struct Map_info *, const plus_t *, int, struct line_pnts *);
  8. /* build_nat.c */
  9. int Vect__get_area_points_nat(const struct Map_info *, const plus_t *, int, struct line_pnts *);
  10. /* map.c */
  11. int Vect__delete(const char *, int);
  12. /* open.c */
  13. int Vect__open_old(struct Map_info *, const char *, const char *,
  14. const char *, int, int, int);
  15. char *Vect__get_path(const struct Map_info *);
  16. char *Vect__get_element_path(const struct Map_info *, const char *);
  17. /* write_nat.c */
  18. int V2__add_line_to_topo_nat(struct Map_info *, off_t, int,
  19. const struct line_pnts *, const struct line_cats *, int,
  20. int (*external_routine) (const struct Map_info *, int));
  21. int V2__delete_line_from_topo_nat(struct Map_info *, int, int,
  22. const struct line_pnts *, const struct line_cats *);
  23. /* write_sfa.c */
  24. off_t V2__write_area_sfa(struct Map_info *, const struct line_pnts **, int,
  25. const struct line_cats *);
  26. /* write_ogr.c */
  27. #ifdef HAVE_OGR
  28. off_t V2__write_area_ogr(struct Map_info *, const struct line_pnts **, int,
  29. const struct line_cats *);
  30. #endif /* HAVE_OGR */
  31. #endif /* PG_LOCAL_PROTO_H__ */