struct log *
-log_new(struct attr **attrs)
+log_new(struct attr * parent,struct attr **attrs)
{
struct log *ret=g_new0(struct log, 1);
struct attr *data,*overwrite,*lazy,*mkdir,*flush_size,*flush_time;
struct attr_iter;
struct log;
int log_get_attr(struct log *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
-struct log *log_new(struct attr **attrs);
+struct log *log_new(struct attr * parent,struct attr **attrs);
void log_set_header(struct log *this_, char *data, int len);
void log_set_trailer(struct log *this_, char *data, int len);
void log_write(struct log *this_, char *data, int len);
{ "polygon", "itemgra", NULL, NEW(polygon_new)},
{ "polyline", "itemgra", NULL, NEW(polyline_new)},
{ "arrows", "itemgra", NULL, NEW(arrows_new)},
- { "vehicle", "navit", NULL, NEW(vehicle_new)},
+ { "vehicle", "navit", NULL, NEW(vehicle_new), ADD(vehicle_add_attr) },
{ "log", "vehicle", NULL, NEW(log_new)},
{ "log", "navit", NULL, NEW(log_new)},
{ "window_items", "navit", xmlconfig_window_items},