]> Pileus Git - grits/blob - src/location.h
0dde55ce3aa6bf8535d6f3ee1289c6849bc05353
[grits] / src / location.h
1 #ifndef SITE_H
2 #define SITE_H
3
4 enum {
5         LOCATION_CITY,
6         LOCATION_STATE
7 };
8
9 typedef struct {
10         int type;
11         char *code;
12         char *label;
13         struct {
14                 gint north;
15                 gint ne;
16                 gint east;
17                 gint se;
18                 gint south;
19                 gint sw;
20                 gint west;
21                 gint nw;
22         } neighbors;
23 } city_t;
24
25 extern city_t cities[];
26
27
28 #endif