From: Kaj-Michael Lang Date: Mon, 21 Apr 2008 08:02:54 +0000 (+0300) Subject: Include path.h X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c36ae7080fdee833f92e6f004cd277a9789c8ff3;p=mapper Include path.h --- diff --git a/src/track.h b/src/track.h index beb0dfc..352504a 100644 --- a/src/track.h +++ b/src/track.h @@ -3,6 +3,7 @@ #include #include +#include "path.h" #include "filter.h" Path *_track; @@ -12,17 +13,6 @@ Path *_track; #define TRACK_SQL_INSERT_TRACK_POINT "insert into trackpoints (tid,dt,lat,lon,alt,hdop,vdop,pdop,sat,fix) values (?,?,?,?,?,?,?,?,?,?)" #define TRACK_SQL_SELECT_TRACK_POINTS "select tid,dt,lat,lon,alt,hdop,vdop,pdop,sat,fix from trackpoints where tid=? order by dt" -struct { - sqlite3_stmt *insert_track; - sqlite3_stmt *select_tracks; - sqlite3_stmt *select_latest_track; - sqlite3_stmt *delete_track; - - sqlite3_stmt *insert_track_point; - sqlite3_stmt *select_track_points; - sqlite3_stmt *delete_track_points; -} track_sql; - void track_init(void); void track_deinit(void);