navit 0.5.3-trunk
Loading...
Searching...
No Matches
maps.c File Reference
#include "attr.h"
#include "attr_type_def.h"
#include "debug.h"
#include "file.h"
#include "map.h"
#include "mapset.h"
#include "xmlconfig.h"
#include <glib.h>
#include <stddef.h>

Functions

struct mapsmaps_new (struct attr *parent, struct attr **attrs)
 

Variables

struct object_func maps_func
 

Function Documentation

◆ maps_new()

struct maps * maps_new ( struct attr parent,
struct attr **  attrs 
)

Navit, a modular navigation system. Copyright (C) 2005-2012 Navit Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

References attr_generic_add_attr(), attr_list_dup(), attr_list_free(), attr_search(), attrs, data, dbg, file_wordexp_destroy(), file_wordexp_get_array(), file_wordexp_get_count(), file_wordexp_new(), lvl_debug, lvl_error, map_new(), mapset_add_attr(), name, navit_object_unref(), attr::str, attr::type, and attr::u.

Variable Documentation

◆ maps_func

struct object_func maps_func
Initial value:
= {
attr_maps,
}
struct maps * maps_new(struct attr *parent, struct attr **attrs)
Definition maps.c:30
struct attr_iter *(* object_func_iter_new)(void *)
Definition xmlconfig.h:61
void(* object_func_iter_destroy)(struct attr_iter *)
Definition xmlconfig.h:62
int(* object_func_remove_attr)(void *, struct attr *attr)
Definition xmlconfig.h:65
int(* object_func_init)(void *)
Definition xmlconfig.h:66
void *(* object_func_dup)(void *)
Definition xmlconfig.h:68
int(* object_func_add_attr)(void *, struct attr *attr)
Definition xmlconfig.h:64
void *(* object_func_unref)(void *)
Definition xmlconfig.h:70
void *(* object_func_new)(struct attr *parent, struct attr **attrs)
Definition xmlconfig.h:59
void(* object_func_destroy)(void *)
Definition xmlconfig.h:67
void *(* object_func_ref)(void *)
Definition xmlconfig.h:69
int(* object_func_set_attr)(void *, struct attr *attr)
Definition xmlconfig.h:63
int(* object_func_get_attr)(void *, enum attr_type type, struct attr *attr, struct attr_iter *iter)
Definition xmlconfig.h:60

Referenced by object_func_lookup().