diff options
author | zaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-11-07 12:38:12 +0000 |
---|---|---|
committer | zaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-11-07 12:38:12 +0000 |
commit | 0be18758e42f13ca3785e3448a6b1f2d17d33935 (patch) | |
tree | 183431e69d7a682c4ac78c93b25961d9adeb451c /navit/event.h | |
parent | 01faa77dc857be70df9da067fa32aa47750f75d8 (diff) | |
download | navit-0be18758e42f13ca3785e3448a6b1f2d17d33935.tar.gz |
Fix:core: Want to call callback_list, not callback
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1675 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/event.h')
-rw-r--r-- | navit/event.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/navit/event.h b/navit/event.h index fb0c37d47..db6675aee 100644 --- a/navit/event.h +++ b/navit/event.h @@ -25,6 +25,7 @@ struct event_idle; struct event_timeout; struct event_watch; struct callback; +struct callback_list; struct file; enum event_watch_cond { @@ -42,7 +43,7 @@ struct event_methods { void (*remove_timeout)(struct event_timeout *ev); struct event_idle *(*add_idle)(struct callback *cb); void (*remove_idle)(struct event_idle *ev); - void (*call_callback)(struct callback *cb); + void (*call_callback)(struct callback_list *cb); }; @@ -56,7 +57,7 @@ void event_remove_timeout(struct event_timeout *ev); struct event_idle *event_add_idle(struct callback *cb); void event_remove_idle(struct event_idle *ev); int event_request_system(char *system, char *requestor); -void event_call_callback(struct callback *cb); +void event_call_callback(struct callback_list *cb); /* end of prototypes */ #ifdef __cplusplus } |