navit
0.5.3-trunk
|
Go to the source code of this file.
Typedefs | |
typedef void(* | callback_patch) (struct callback_list *l, enum attr_type type, int pcount, void **p, void *context) |
Functions | |
struct callback_list * | callback_list_new (void) |
struct callback * | callback_new_attr (void(*func)(void), enum attr_type type, int pcount, void **p) |
struct callback * | callback_new_attr_args (void(*func)(void), enum attr_type type, int count,...) |
struct callback * | callback_new (void(*func)(void), int pcount, void **p) |
struct callback * | callback_new_args (void(*func)(void), int count,...) |
void | callback_destroy (struct callback *cb) |
void | callback_set_arg (struct callback *cb, int arg, void *p) |
void | callback_list_add (struct callback_list *l, struct callback *cb) |
struct callback * | callback_list_add_new (struct callback_list *l, void(*func)(void), int pcount, void **p) |
void | callback_list_remove (struct callback_list *l, struct callback *cb) |
void | callback_list_remove_destroy (struct callback_list *l, struct callback *cb) |
void | callback_list_add_patch_function (struct callback_list *l, callback_patch patch, void *context) |
void | callback_call (struct callback *cb, int pcount, void **p) |
void | callback_call_args (struct callback *cb, int count,...) |
void | callback_list_call_attr (struct callback_list *l, enum attr_type type, int pcount, void **p) |
void | callback_list_call_attr_args (struct callback_list *cbl, enum attr_type type, int count,...) |
void | callback_list_call (struct callback_list *l, int pcount, void **p) |
void | callback_list_call_args (struct callback_list *cbl, int count,...) |
void | callback_list_destroy (struct callback_list *l) |
#define callback_call_0 | ( | cb | ) | callback_call_args(cb, 0) |
#define callback_call_1 | ( | cb, | |
p1 | |||
) | callback_call_args(cb, 1, p1) |
#define callback_call_2 | ( | cb, | |
p1, | |||
p2 | |||
) | callback_call_args(cb, 2, p1, p2) |
#define callback_call_3 | ( | cb, | |
p1, | |||
p2, | |||
p3 | |||
) | callback_call_args(cb, 3, p1, p2, p3) |
#define callback_call_4 | ( | cb, | |
p1, | |||
p2, | |||
p3, | |||
p4 | |||
) | callback_call_args(cb, 4, p1, p2, p3, p4) |
#define callback_cast | ( | x | ) | (void (*)(void))(x) |
#define callback_list_call_0 | ( | cbl | ) | callback_list_call_args(cbl, 0) |
#define callback_list_call_1 | ( | cbl, | |
p1 | |||
) | callback_list_call_args(cbl, 1, p1) |
#define callback_list_call_2 | ( | cbl, | |
p1, | |||
p2 | |||
) | callback_list_call_args(cbl, 2, p1, p2) |
#define callback_list_call_3 | ( | cbl, | |
p1, | |||
p2, | |||
p3 | |||
) | callback_list_call_args(cbl, 3, p1, p2, p3) |
#define callback_list_call_4 | ( | cbl, | |
p1, | |||
p2, | |||
p3, | |||
p4 | |||
) | callback_list_call_args(cbl, 4, p1, p2, p3, p4) |
#define callback_list_call_attr_0 | ( | cbl, | |
type | |||
) | callback_list_call_attr_args(cbl,type, 0) |
#define callback_list_call_attr_1 | ( | cbl, | |
type, | |||
p1 | |||
) | callback_list_call_attr_args(cbl, type, 1, p1) |
#define callback_list_call_attr_2 | ( | cbl, | |
type, | |||
p1, | |||
p2 | |||
) | callback_list_call_attr_args(cbl, type, 2, p1, p2) |
#define callback_list_call_attr_3 | ( | cbl, | |
type, | |||
p1, | |||
p2, | |||
p3 | |||
) | callback_list_call_attr_args(cbl, type, 3, p1, p2, p3) |
#define callback_list_call_attr_4 | ( | cbl, | |
type, | |||
p1, | |||
p2, | |||
p3, | |||
p4 | |||
) | callback_list_call_attr_args(cbl, type, 4, p1, p2, p3, p4) |
#define callback_new_0 | ( | func | ) | callback_new_args(func, 0) |
#define callback_new_1 | ( | func, | |
p1 | |||
) | callback_new_args(func, 1, p1) |
#define callback_new_2 | ( | func, | |
p1, | |||
p2 | |||
) | callback_new_args(func, 2, p1, p2) |
#define callback_new_3 | ( | func, | |
p1, | |||
p2, | |||
p3 | |||
) | callback_new_args(func, 3, p1, p2, p3) |
#define callback_new_4 | ( | func, | |
p1, | |||
p2, | |||
p3, | |||
p4 | |||
) | callback_new_args(func, 4, p1, p2, p3, p4) |
#define callback_new_attr_0 | ( | func, | |
type | |||
) | callback_new_attr_args(func, type, 0) |
#define callback_new_attr_1 | ( | func, | |
type, | |||
p1 | |||
) | callback_new_attr_args(func, type, 1, p1) |
#define callback_new_attr_2 | ( | func, | |
type, | |||
p1, | |||
p2 | |||
) | callback_new_attr_args(func, type, 2, p1, p2) |
#define callback_new_attr_3 | ( | func, | |
type, | |||
p1, | |||
p2, | |||
p3 | |||
) | callback_new_attr_args(func, type, 3, p1, p2, p3) |
#define callback_new_attr_4 | ( | func, | |
type, | |||
p1, | |||
p2, | |||
p3, | |||
p4 | |||
) | callback_new_attr_args(func, type, 4, p1, p2, p3, p4) |
typedef void(* callback_patch) (struct callback_list *l, enum attr_type type, int pcount, void **p, void *context) |
void callback_call | ( | struct callback * | cb, |
int | pcount, | ||
void ** | p | ||
) |
References dbg, dbg_assert, callback::func, lvl_debug, lvl_error, callback::p, p, and callback::pcount.
Referenced by callback_call_args(), and callback_list_call_attr().
void callback_call_args | ( | struct callback * | cb, |
int | count, | ||
... | |||
) |
References callback_call(), and p.
void callback_destroy | ( | struct callback * | cb | ) |
Referenced by android_search_end(), command_saved_callbacks_changed(), do_draw(), event_sdl_main_loop_run(), graphics_opengl_x11_destroy(), graphics_sdl_idle(), gui_internal_menu_destroy(), gui_internal_search_idle_end(), log_destroy(), navigation_update_done(), navit_destroy(), navit_window_roadbook_destroy(), request_callback_destroy_do(), route_graph_build_done(), route_graph_update(), script_destroy(), traffic_loop(), traffic_process_messages(), traffic_process_messages_int(), vehicle_demo_destroy(), vehicle_destroy(), vehicle_file_close(), vehicle_file_destroy(), vehicle_gpsd_close(), and vehicle_set_cursor().
void callback_list_add | ( | struct callback_list * | l, |
struct callback * | cb | ||
) |
References callback_list::list.
Referenced by bookmarks_add_callback(), callback_list_add_new(), command_add_table(), graphics_add_callback(), graphics_svg_debug_new(), gui_internal_add_callback(), map_add_callback(), navigation_register_callback(), navit_add_callback(), navit_object_add_attr(), route_add_attr(), tracking_add_attr(), vehicle_add_attr(), vehicle_add_log(), and vehicle_wince_new().
struct callback* callback_list_add_new | ( | struct callback_list * | l, |
void(*)(void) | func, | ||
int | pcount, | ||
void ** | p | ||
) |
References callback_list_add(), callback_new(), callback::func, p, and callback::pcount.
void callback_list_add_patch_function | ( | struct callback_list * | l, |
callback_patch | patch, | ||
void * | context | ||
) |
References context, callback_list::patch, and callback_list::patch_context.
Referenced by graphics_new().
void callback_list_call | ( | struct callback_list * | l, |
int | pcount, | ||
void ** | p | ||
) |
References callback_list_call_attr(), p, and callback::pcount.
Referenced by callback_list_call_args(), and navigation_call_callbacks().
void callback_list_call_args | ( | struct callback_list * | cbl, |
int | count, | ||
... | |||
) |
References callback_list_call(), cbl, and p.
void callback_list_call_attr | ( | struct callback_list * | l, |
enum attr_type | type, | ||
int | pcount, | ||
void ** | p | ||
) |
References callback_call(), callback_list::list, p, callback_list::patch, callback_list::patch_context, callback::pcount, callback::type, and type.
Referenced by callback_list_call(), and callback_list_call_attr_args().
void callback_list_call_attr_args | ( | struct callback_list * | cbl, |
enum attr_type | type, | ||
int | count, | ||
... | |||
) |
References callback_list_call_attr(), cbl, p, and type.
void callback_list_destroy | ( | struct callback_list * | l | ) |
References callback_list::list.
Referenced by bookmarks_destroy(), map_destroy(), navigation_destroy(), tracking_destroy(), vehicle_destroy(), and vehicle_new().
struct callback_list* callback_list_new | ( | void | ) |
void callback_list_remove | ( | struct callback_list * | l, |
struct callback * | cb | ||
) |
References callback_list::list.
Referenced by callback_list_remove_destroy(), graphics_remove_callback(), gui_internal_get_flags(), map_remove_callback(), navigation_unregister_callback(), navit_object_remove_attr(), navit_remove_callback(), route_remove_attr(), tracking_remove_attr(), and vehicle_remove_attr().
void callback_list_remove_destroy | ( | struct callback_list * | l, |
struct callback * | cb | ||
) |
References callback_list_remove().
struct callback* callback_new | ( | void(*)(void) | func, |
int | pcount, | ||
void ** | p | ||
) |
References callback_new_attr(), callback::func, p, and callback::pcount.
Referenced by callback_list_add_new(), callback_new_args(), and disable_suspend().
struct callback* callback_new_args | ( | void(*)(void) | func, |
int | count, | ||
... | |||
) |
References callback_new(), callback::func, and p.
struct callback* callback_new_attr | ( | void(*)(void) | func, |
enum attr_type | type, | ||
int | pcount, | ||
void ** | p | ||
) |
References callback::func, callback::p, p, callback::pcount, callback::type, and type.
Referenced by callback_new(), and callback_new_attr_args().
References callback_new_attr(), callback::func, p, and type.
void callback_set_arg | ( | struct callback * | cb, |
int | arg, | ||
void * | p | ||
) |
References callback::p, p, and callback::pcount.