File: map.h

package info (click to toggle)
grass 6.0.0-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 38,764 kB
  • ctags: 31,167
  • sloc: ansic: 320,650; tcl: 25,669; cpp: 10,098; sh: 9,695; makefile: 4,714; fortran: 1,846; yacc: 493; lex: 462; perl: 133; sed: 1
file content (22 lines) | stat: -rw-r--r-- 448 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef MAP_H
#define MAP_H

typedef struct Map_info Map_info;


typedef struct Map
{
  struct Map *next;
  char *name;
  Map_info *mapinfo;
  int refcnt;
}MAP;

extern void init_map (void);
extern void showmap (SYMBOL *map);
extern void setmap (SYMBOL *var, SYMBOL *map);
extern SYMBOL *mkmapvar (SYMBOL *var, SYMBOL *map);
extern SYMBOL *mapfunc (SYMBOL *func, SYMBOL *arglist);
extern SYMBOL *mapop (int op, SYMBOL *map1, SYMBOL *map2);

#endif