local_proto.h 1.2 KB

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