summaryrefslogtreecommitdiff
path: root/navit/attr.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-08-31 17:14:42 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-08-31 17:14:42 +0000
commit83a794f8e48b28e62e02783d2ed4726c1b41af17 (patch)
treeccc4bb0cc76718b60498e0f7dcbcfffcd470ea5d /navit/attr.h
parent1313fa9a60f2490368d5be93047ca9935e228f52 (diff)
downloadnavit-83a794f8e48b28e62e02783d2ed4726c1b41af17.tar.gz
Add:Core:Made log items of gpx log configurable
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2538 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/attr.h')
-rw-r--r--navit/attr.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/navit/attr.h b/navit/attr.h
index c018bd663..65cfbe574 100644
--- a/navit/attr.h
+++ b/navit/attr.h
@@ -129,6 +129,7 @@ struct attr {
} range;
int *dash;
enum item_type *item_types;
+ enum attr_type *attr_types;
long long *num64;
} u;
};
@@ -147,15 +148,18 @@ int attr_generic_get_attr(struct attr **attrs, struct attr **def_attrs, enum att
struct attr **attr_generic_set_attr(struct attr **attrs, struct attr *attr);
struct attr **attr_generic_add_attr(struct attr **attrs, struct attr *attr);
struct attr **attr_generic_remove_attr(struct attr **attrs, struct attr *attr);
+enum attr_type attr_type_begin(enum attr_type type);
int attr_data_size(struct attr *attr);
void *attr_data_get(struct attr *attr);
void attr_data_set(struct attr *attr, void *data);
-void attr_data_set_le(struct attr * attr, void * data);
+void attr_data_set_le(struct attr *attr, void *data);
void attr_free(struct attr *attr);
struct attr *attr_dup(struct attr *attr);
void attr_list_free(struct attr **attrs);
struct attr **attr_list_dup(struct attr **attrs);
int attr_from_line(char *line, char *name, int *pos, char *val_ret, char *name_ret);
+int attr_types_contains(enum attr_type *types, enum attr_type type);
+int attr_types_contains_default(enum attr_type *types, enum attr_type type, int deflt);
/* end of prototypes */
#endif
#ifdef __cplusplus