~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to lib/vector/Vlib/local_proto.h

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
/* Internal vector library subroutines which are not part of public
 
11
   API*/
 
12
 
 
13
/* area.c */
 
14
int Vect__get_area_points(const struct Map_info *, const plus_t *, int, struct line_pnts *);
 
15
int Vect__get_area_points_nat(const struct Map_info *, const plus_t *, int, struct line_pnts *);
 
16
 
 
17
/* close.c */
 
18
void Vect__free_cache(struct Format_info_cache *);
 
19
void Vect__free_offset(struct Format_info_offset *);
 
20
 
 
21
/* copy.c */
 
22
int Vect__copy_areas(const struct Map_info *, int, struct Map_info *);
 
23
 
 
24
/* map.c */
 
25
int Vect__delete(const char *, int);
 
26
 
 
27
/* open.c */
 
28
int Vect__open_old(struct Map_info *, const char *, const char *,
 
29
                   const char *, int, int, int);
 
30
char *Vect__get_path(const struct Map_info *);
 
31
char *Vect__get_element_path(const struct Map_info *, const char *);
 
32
 
 
33
/* write_nat.c */
 
34
int V2__add_line_to_topo_nat(struct Map_info *, off_t, int,
 
35
                             const struct line_pnts *, const struct line_cats *, int,
 
36
                             int (*external_routine) (const struct Map_info *, int));
 
37
int V2__delete_line_from_topo_nat(struct Map_info *, int, int,
 
38
                                  const struct line_pnts *, const struct line_cats *);
 
39
 
 
40
/* write_sfa.c */
 
41
off_t V2__write_area_sfa(struct Map_info *, const struct line_pnts **, int,
 
42
                         const struct line_cats *);
 
43
 
 
44
/* write_ogr.c */
 
45
#ifdef HAVE_OGR
 
46
off_t V2__write_area_ogr(struct Map_info *, const struct line_pnts **, int,
 
47
                         const struct line_cats *);
 
48
#endif /* HAVE_OGR */
 
49
 
 
50
#endif /* PG_LOCAL_PROTO_H__ */