Move structs from osm-db.c here.
#define W_ROUNDABOUT (1 << 2)
#define W_LINK (1 << 3)
#define W_AREA (1 << 4)
+#define W_NOEXIT (1 << 5)
#define ILAT_TURKU 911084432
#define ILON_TURKU 265542144
NODE_TYPE_MAX=9000
} node_type_t;
-
-
typedef enum {
WAY_UNWAYED=0,
WAY_MOTORWAY,
WAY_OTHER
} way_type_t;
+typedef struct _osm_place osm_place;
+struct _osm_place {
+ guint32 id;
+ node_type_t type;
+ gchar *name;
+ gint lat;
+ gint lon;
+ gint dist;
+};
+
+typedef struct _osm_way osm_way;
+struct _osm_way {
+ guint32 id;
+ gshort type;
+ guint flags;
+ GList *nodes;
+};
+
#endif