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; |
155 |
int day, month, year; |
int day, month, year; |
156 |
int notes_loaded; /* notes are loaded on demand to keep reponse fast */ |
int notes_loaded; /* notes are loaded on demand to keep reponse fast */ |
157 |
int closed; /* true if entry is "closed" */ |
int closed; /* true if entry is "closed" */ |
|
int failed; /* true if automated load failed */ |
|
158 |
cache_t *cache; |
cache_t *cache; |
159 |
|
|
160 |
/* pointer to next gpx in list */ |
/* pointer to next gpx in list */ |