diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-05-18 10:01:53 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-05-18 10:01:53 +0000 |
commit | ca99b617483dd3b59fd42738e810309c4229a538 (patch) | |
tree | be7bb1cb1020f4022e41c004e2fa9d561ea3580d /navit/search.h | |
parent | 77ebd4f9df170e6211c5ace8d43c997d385d9ec9 (diff) | |
download | navit-svn-ca99b617483dd3b59fd42738e810309c4229a538.tar.gz |
Fix:Core:Renamed src to navit for cleanup of includes
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1059 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/search.h')
-rw-r--r-- | navit/search.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/navit/search.h b/navit/search.h new file mode 100644 index 00000000..494e89c7 --- /dev/null +++ b/navit/search.h @@ -0,0 +1,52 @@ +#ifndef NAVIT_SEARCH_H +#define NAVIT_SEARCH_H + +#ifdef __cplusplus +extern "C" { +#endif +struct search_list_country { + struct item item; + char *car; + char *iso2; + char *iso3; + char *name; +}; + +struct search_list_town { + struct item item; + struct item itemt; + struct pcoord *c; + char *postal; + char *name; + char *district; +}; + +struct search_list_street { + struct item item; + struct pcoord *c; + char *name; +}; + +struct search_list_result { + struct pcoord *c; + struct search_list_country *country; + struct search_list_town *town; + struct search_list_street *street; +}; + +/* prototypes */ +struct attr; +struct mapset; +struct search_list; +struct search_list_result; +struct search_list *search_list_new(struct mapset *ms); +void search_list_search(struct search_list *this_, struct attr *search_attr, int partial); +struct search_list_result *search_list_get_result(struct search_list *this_); +void search_list_destroy(struct search_list *this_); +/* end of prototypes */ +#ifdef __cplusplus +} +#endif + +#endif + |