~ubuntu-branches/ubuntu/wily/grass/wily

« back to all changes in this revision

Viewing changes to include/P_site.h

Tags: 7.0.0~rc1+ds1-1~exp1
* New upstream release candidate.
* Repack upstream tarball, remove precompiled Python objects.
* Add upstream metadata.
* Update gbp.conf and Vcs-Git URL to use the experimental branch.
* Update watch file for GRASS 7.0.
* Drop build dependencies for Tcl/Tk, add build dependencies:
  python-numpy, libnetcdf-dev, netcdf-bin, libblas-dev, liblapack-dev
* Update Vcs-Browser URL to use cgit instead of gitweb.
* Update paths to use grass70.
* Add configure options: --with-netcdf, --with-blas, --with-lapack,
  remove --with-tcltk-includes.
* Update patches for GRASS 7.
* Update copyright file, changes:
  - Update copyright years
  - Group files by license
  - Remove unused license sections
* Add patches for various typos.
* Fix desktop file with patch instead of d/rules.
* Use minimal dh rules.
* Bump Standards-Version to 3.9.6, no changes.
* Use dpkg-maintscript-helper to replace directories with symlinks.
  (closes: #776349)
* Update my email to use @debian.org address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
#ifndef GRASS_P_SITE_H
3
 
#define GRASS_P_SITE_H
4
 
 
5
 
struct Map_info;
6
 
 
7
 
/* The same for old and new, format independent */
8
 
Site *G_site_new_struct(RASTER_MAP_TYPE cattype, int ndim, int ns, int nd);
9
 
void G_site_free_struct(Site * s);
10
 
int G_site_in_region(const Site * s, const struct Cell_head *region);
11
 
int G_site_d_cmp(const void *a, const void *b);
12
 
int G_site_c_cmp(const void *a, const void *b);
13
 
int G_site_s_cmp(const void *a, const void *b);
14
 
char *G_site_format(const Site * s, const char *fs, int id);
15
 
 
16
 
/* SITE_ATT * G_sites_get_atts (struct Map_info * ptr, int* cat); */
17
 
int G_sites_get_fields(struct Map_info *ptr, char ***cnames, int **ctypes,
18
 
                       int **ndx);
19
 
void G_sites_free_fields(int ncols, char **cnames, int *ctypes, int *ndx);
20
 
 
21
 
/* Old version used by v.in.sites */
22
 
FILE *G_oldsites_open_old(const char *name, const char *mapset);
23
 
int G_oldsite_describe(FILE * p, int *dims, int *cat, int *strs, int *dbls);
24
 
int G_oldsite_get(FILE * p, Site * s);
25
 
int G__oldsite_get(FILE *, Site *, int);
26
 
 
27
 
/* New version based on vectors used in old, not updated sites modules */
28
 
int G_site_get(struct Map_info *p, Site * s);
29
 
int G_site_put(struct Map_info *p, const Site * s);
30
 
int G_site_describe(struct Map_info *p, int *dims, int *cat, int *strs,
31
 
                    int *dbls);
32
 
int G_site_get_head(struct Map_info *p, Site_head * head);
33
 
int G_site_put_head(struct Map_info *p, Site_head * head);
34
 
struct Map_info *G_sites_open_old(const char *name, const char *mapset);
35
 
struct Map_info *G_sites_open_new(const char *name);
36
 
void G_sites_close(struct Map_info *);
37
 
char *G_find_sites(char *name, const char *mapset);
38
 
char *G_find_sites2(const char *name, const char *mapset);
39
 
char *G_ask_sites_new(const char *prompt, char *name);
40
 
char *G_ask_sites_old(const char *prompt, char *name);
41
 
char *G_ask_sites_any(const char *prompt, char *name);
42
 
char *G_ask_sites_in_mapset(const char *prompt, char *name);
43
 
int G__site_put(struct Map_info *, Site *, int);
44
 
 
45
 
struct Map_info *G_fopen_sites_old(const char *, const char *);
46
 
struct Map_info *G_fopen_sites_new(const char *);
47
 
int G_get_site(struct Map_info *, double *, double *, char **);
48
 
int G_put_site(struct Map_info *, double, double, const char *);
49
 
 
50
 
#endif