76 |
#define LOG_TYPE_ARCHIVE 15 |
#define LOG_TYPE_ARCHIVE 15 |
77 |
#define LOG_TYPE_MAX (LOG_TYPE_ARCHIVE) |
#define LOG_TYPE_MAX (LOG_TYPE_ARCHIVE) |
78 |
|
|
79 |
|
typedef struct { |
80 |
|
char *name; |
81 |
|
unsigned int id; |
82 |
|
} user_t; |
83 |
|
|
84 |
typedef struct tb { |
typedef struct tb { |
85 |
char *name; |
char *name; |
86 |
char *ref; |
char *ref; |
87 |
|
unsigned int id; |
88 |
struct tb *next; |
struct tb *next; |
89 |
} tb_t; |
} tb_t; |
90 |
|
|
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; |
126 |
/* cache information */ |
/* cache information */ |
127 |
char *id; |
char *id; |
128 |
char *name; |
char *name; |
129 |
char *owner; |
|
130 |
|
user_t *owner; |
131 |
|
|
132 |
int container; |
int container; |
133 |
int type; |
int type; |
134 |
char *short_description, *long_description; |
char *short_description, *long_description; |
180 |
void gpx_free_caches(gpx_t *gpx); |
void gpx_free_caches(gpx_t *gpx); |
181 |
void gpx_display_all(gpx_t *gpx); |
void gpx_display_all(gpx_t *gpx); |
182 |
int gpx_total_caches(gpx_t *gpx); |
int gpx_total_caches(gpx_t *gpx); |
183 |
|
int gpx_total_caches_global(gpx_t *gpx); |
184 |
void gpx_sort(gpx_t *gpx, int by, pos_t *refpos); |
void gpx_sort(gpx_t *gpx, int by, pos_t *refpos); |
185 |
float gpx_pos_get_bearing(pos_t p1, pos_t p2); |
float gpx_pos_get_bearing(pos_t p1, pos_t p2); |
186 |
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); |