Diff of /trunk/src/gpx.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 134 by harbaum, Tue Oct 13 14:36:07 2009 UTC revision 204 by harbaum, Mon Nov 23 18:32:06 2009 UTC
# Line 91  typedef struct tb { Line 91  typedef struct tb {
91  typedef struct log {  typedef struct log {
92    int  day, month, year;    int  day, month, year;
93    int  type;    int  type;
94    char *finder;    user_t *finder;
95      unsigned int id;
96    char *text;    char *text;
97    
98    struct log *next;    struct log *next;
# Line 139  typedef struct cache { Line 140  typedef struct cache {
140    int logs_are_html;    int logs_are_html;
141    char *url;    char *url;
142    int available, archived;    int available, archived;
143      gboolean found;      /* determined by log */
144    
145    notes_t *notes;      /* user provides data. Doesn't come from gpx file */    notes_t *notes;      /* user provides data. Doesn't come from gpx file */
146    wpt_t *wpt;          /* pointer to list of waypoints */    wpt_t *wpt;          /* pointer to list of waypoints */
# Line 172  typedef struct { Line 174  typedef struct {
174  gpx_dialog_t *gpx_busy_dialog_new(GtkWidget *parent);  gpx_dialog_t *gpx_busy_dialog_new(GtkWidget *parent);
175  void gpx_busy_dialog_destroy(gpx_dialog_t *);  void gpx_busy_dialog_destroy(gpx_dialog_t *);
176    
177  gpx_t *gpx_parse(gpx_dialog_t *dialog, char *filename);  gpx_t *gpx_parse(gpx_dialog_t *dialog, char *filename, char *username);
178  gpx_t *gpx_parse_dir(gpx_dialog_t *dialog, char *dirname);  gpx_t *gpx_parse_dir(gpx_dialog_t *dialog, char *dirname, char *username);
179  void  gpx_free(gpx_t *gpx);  void  gpx_free(gpx_t *gpx);
180  void  gpx_free_all(gpx_t *gpx);  void  gpx_free_all(gpx_t *gpx);
181  void gpx_free_caches(gpx_t *gpx);  void gpx_free_caches(gpx_t *gpx);
182  void  gpx_display_all(gpx_t *gpx);  void  gpx_display_all(gpx_t *gpx);
183  int   gpx_total_caches(gpx_t *gpx);  int   gpx_total_caches(gpx_t *gpx);
184    int   gpx_total_caches_global(gpx_t *gpx);
185  void  gpx_sort(gpx_t *gpx, int by, pos_t *refpos);  void  gpx_sort(gpx_t *gpx, int by, pos_t *refpos);
186  float gpx_pos_get_bearing(pos_t p1, pos_t p2);  float gpx_pos_get_bearing(pos_t p1, pos_t p2);
187  float gpx_pos_get_distance(pos_t p1, pos_t p2, int miles);  float gpx_pos_get_distance(pos_t p1, pos_t p2, int miles);

Legend:
Removed from v.134  
changed lines
  Added in v.204