navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
script.c File Reference
#include <glib.h>
#include "item.h"
#include "debug.h"
#include "event.h"
#include "callback.h"
#include "command.h"
#include "xmlconfig.h"

Data Structures

struct  script
 

Functions

static void script_run (struct script *scr)
 
static int script_set_attr_int (struct script *scr, struct attr *attr)
 
static struct scriptscript_new (struct attr *parent, struct attr **attrs)
 
static void script_destroy (struct script *scr)
 

Variables

struct object_func script_func
 

Function Documentation

static struct script* script_new ( struct attr parent,
struct attr **  attrs 
)
static
static void script_run ( struct script scr)
static

Variable Documentation

struct object_func script_func
Initial value:
= {
attr_script,
}
void(* object_func_destroy)(void *)
Definition: xmlconfig.h:62
static struct script * script_new(struct attr *parent, struct attr **attrs)
Definition: script.c:71
int navit_object_remove_attr(struct navit_object *obj, struct attr *attr)
Definition: xmlconfig.c:1354
void *(* object_func_dup)(void *)
Definition: xmlconfig.h:63
void(* object_func_iter_destroy)(struct attr_iter *)
Definition: xmlconfig.h:57
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:1308
void navit_object_attr_iter_destroy(struct attr_iter *iter)
Definition: xmlconfig.c:1277
void navit_object_unref(struct navit_object *obj)
Definition: xmlconfig.c:1256
int navit_object_set_attr(struct navit_object *obj, struct attr *attr)
Definition: xmlconfig.c:1321
int(* object_func_init)(void *)
Definition: xmlconfig.h:61
static void script_destroy(struct script *scr)
Definition: script.c:87
void *(* object_func_ref)(void *)
Definition: xmlconfig.h:64
struct attr_iter *(* object_func_iter_new)(void *)
Definition: xmlconfig.h:56
void *(* object_func_unref)(void *)
Definition: xmlconfig.h:65
int(* object_func_remove_attr)(void *, struct attr *attr)
Definition: xmlconfig.h:60
void *(* object_func_new)(struct attr *parent, struct attr **attrs)
Definition: xmlconfig.h:54
int(* object_func_set_attr)(void *, struct attr *attr)
Definition: xmlconfig.h:58
int navit_object_add_attr(struct navit_object *obj, struct attr *attr)
Definition: xmlconfig.c:1330
struct attr_iter * navit_object_attr_iter_new(void)
Definition: xmlconfig.c:1271
int(* object_func_get_attr)(void *, enum attr_type type, struct attr *attr, struct attr_iter *iter)
Definition: xmlconfig.h:55
struct navit_object * navit_object_ref(struct navit_object *obj)
Definition: xmlconfig.c:1248
int(* object_func_add_attr)(void *, struct attr *attr)
Definition: xmlconfig.h:59

Referenced by object_func_lookup(), and script_new().