local_proto.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. int Vect__get_area_points_nat(const struct Map_info *, const plus_t *, int, struct line_pnts *);
  9. /* map.c */
  10. int Vect__delete(const char *, int);
  11. /* open.c */
  12. int Vect__open_old(struct Map_info *, const char *, const char *,
  13. const char *, int, int, int);
  14. char *Vect__get_path(const struct Map_info *);
  15. char *Vect__get_element_path(const struct Map_info *, const char *);
  16. /* write_nat.c */
  17. int V2__add_line_to_topo_nat(struct Map_info *, off_t, int,
  18. const struct line_pnts *, const struct line_cats *, int,
  19. int (*external_routine) (const struct Map_info *, int));
  20. int V2__delete_line_from_topo_nat(struct Map_info *, int, int,
  21. const struct line_pnts *, const struct line_cats *);
  22. /* write_sfa.c */
  23. off_t V2__write_area_sfa(struct Map_info *, const struct line_pnts **, int,
  24. const struct line_cats *);
  25. /* write_ogr.c */
  26. #ifdef HAVE_OGR
  27. off_t V2__write_area_ogr(struct Map_info *, const struct line_pnts **, int,
  28. const struct line_cats *);
  29. #endif /* HAVE_OGR */
  30. #endif /* PG_LOCAL_PROTO_H__ */