Navit SVN

/work/compile/navit/src/navit/obj_filter.h

00001 
00002 #ifndef OBJ_FILTER
00003 #define OBJ_FILTER
00004 
00005 //forward declaration
00006 struct attr;
00007 
00008 struct obj_filter_t {
00009   char iterator_type[64];
00010   char filter_expr[256];
00011   int idx;
00012 };
00013 
00014 struct obj_list {
00015   struct navit_object* objs;
00016   int size;
00017 };
00018 
00019 int parse_obj_filter(const char*input, struct obj_filter_t* out);
00020 struct attr* filter_object(struct attr* root,char*iter_type,char*expr, int idx);
00021 
00022 #endif
00023