navit  0.5.3-trunk
profile_option.c File Reference
#include <glib.h>
#include "item.h"
#include "debug.h"
#include "xmlconfig.h"

Data Structures

struct  profile_option
 

Functions

static struct profile_optionprofile_option_new (struct attr *parent, struct attr **attrs)
 
static void profile_option_destroy (struct profile_option *po)
 

Variables

struct object_func profile_option_func
 

Function Documentation

◆ profile_option_destroy()

static void profile_option_destroy ( struct profile_option po)
static

References attr_list_free().

◆ profile_option_new()

static struct profile_option* profile_option_new ( struct attr parent,
struct attr **  attrs 
)
static

Variable Documentation

◆ profile_option_func

struct object_func profile_option_func
Initial value:
= {
attr_profile_option,
}
static void profile_option_destroy(struct profile_option *po)
Definition: profile_option.c:38
static struct profile_option * profile_option_new(struct attr *parent, struct attr **attrs)
Definition: profile_option.c:29
int navit_object_set_attr(struct navit_object *obj, struct attr *attr)
Definition: xmlconfig.c:1370
int navit_object_remove_attr(struct navit_object *obj, struct attr *attr)
Definition: xmlconfig.c:1399
struct attr_iter * navit_object_attr_iter_new(void *unused)
Definition: xmlconfig.c:1328
int navit_object_get_attr(struct navit_object *obj, enum attr_type type, struct attr *attr, struct attr_iter *iter)
Generic get function.
Definition: xmlconfig.c:1361
void navit_object_attr_iter_destroy(struct attr_iter *iter)
Definition: xmlconfig.c:1332
int navit_object_add_attr(struct navit_object *obj, struct attr *attr)
Definition: xmlconfig.c:1377
void * navit_object_unref(struct navit_object *obj)
Definition: xmlconfig.c:1313
struct navit_object * navit_object_ref(struct navit_object *obj)
Definition: xmlconfig.c:1307
void(* object_func_iter_destroy)(struct attr_iter *)
Definition: xmlconfig.h:57
void *(* object_func_new)(struct attr *parent, struct attr **attrs)
Definition: xmlconfig.h:54
int(* object_func_remove_attr)(void *, struct attr *attr)
Definition: xmlconfig.h:60
void *(* object_func_ref)(void *)
Definition: xmlconfig.h:64
struct attr_iter *(* object_func_iter_new)(void *)
Definition: xmlconfig.h:56
int(* object_func_init)(void *)
Definition: xmlconfig.h:61
void *(* object_func_dup)(void *)
Definition: xmlconfig.h:63
int(* object_func_add_attr)(void *, struct attr *attr)
Definition: xmlconfig.h:59
void(* object_func_destroy)(void *)
Definition: xmlconfig.h:62
int(* object_func_set_attr)(void *, struct attr *attr)
Definition: xmlconfig.h:58
int(* object_func_get_attr)(void *, enum attr_type type, struct attr *attr, struct attr_iter *iter)
Definition: xmlconfig.h:55
void *(* object_func_unref)(void *)
Definition: xmlconfig.h:65

Referenced by object_func_lookup(), and profile_option_new().