summaryrefslogtreecommitdiff
path: root/navit/attr.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-05-05 14:37:45 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2012-05-05 14:37:45 +0000
commitcd970984d86cc5f8938333b50cb0e2c79ff93b0e (patch)
treeee74af8d1d0d7e6bb0b2a607334e44d492eed5b2 /navit/attr.h
parent2f51acf7cf0c3e1ee54cb7ed3f29b6afc7e47fc8 (diff)
downloadnavit-svn-cd970984d86cc5f8938333b50cb0e2c79ff93b0e.tar.gz
Add:Core:Use hash during xml parsing to improve startup speed
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5078 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/attr.h')
-rw-r--r--navit/attr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/attr.h b/navit/attr.h
index 0f58f210..e82b08f5 100644
--- a/navit/attr.h
+++ b/navit/attr.h
@@ -167,6 +167,8 @@ struct attr {
struct attr_iter;
/* prototypes */
+void attr_create_hash(void);
+void attr_destroy_hash(void);
enum attr_type attr_from_name(const char *name);
char *attr_to_name(enum attr_type attr);
struct attr *attr_new_from_text(const char *name, const char *value);