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

« back to all changes in this revision

Viewing changes to vector/v.out.ogr/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
#include <grass/gis.h>
 
2
#include <grass/vector.h>
 
3
#include <grass/dbmi.h>
 
4
 
 
5
#include "ogr_api.h"
 
6
#include "cpl_string.h"
 
7
 
 
8
 
 
9
/* some hard limits */
 
10
#define SQL_BUFFER_SIZE 2000
 
11
 
 
12
 
 
13
struct Options {
 
14
    struct Option *input, *dsn, *layer, *type, *format,
 
15
        *field, *dsco, *lco, *otype;
 
16
};
 
17
 
 
18
struct Flags {
 
19
    struct Flag *cat, *esristyle, *update, *nocat, *new, *append, *force2d, *multi;
 
20
};
 
21
 
 
22
/* args.c */
 
23
void parse_args(int, char **,
 
24
                struct Options*, struct Flags *);
 
25
 
 
26
/* attributes.c */
 
27
int mk_att(int, struct field_info *, dbDriver *,
 
28
           int, int *, const char **, int, int,
 
29
           OGRFeatureH, int *);
 
30
 
 
31
/* list.c */
 
32
char *OGR_list_write_drivers();
 
33
 
 
34
/* create.c */
 
35
void create_ogr_layer(const char *, const char *, const char *,
 
36
                      unsigned int, char **, char **);
 
37
OGRwkbGeometryType get_multi_wkbtype(OGRwkbGeometryType);
 
38
OGRwkbGeometryType get_wkbtype(int, int);
 
39
 
 
40
/* export_lines.c */
 
41
int export_lines(struct Map_info *, int, int, int, int, int,
 
42
                 OGRFeatureDefnH, OGRLayerH,
 
43
                 struct field_info *, dbDriver *, int, int *, 
 
44
                 const char **, int, int,
 
45
                 int *, int *);
 
46
 
 
47
/* export_areas.c */
 
48
int export_areas(struct Map_info *, int, int, int, 
 
49
                 OGRFeatureDefnH, OGRLayerH,
 
50
                 struct field_info *, dbDriver *, int, int *, 
 
51
                 const char **, int, int,
 
52
                 int *, int *);