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 | 8510a91c3f9af8b007f0d6ba44871746586d9d33 (patch) | |
tree | 183431e69d7a682c4ac78c93b25961d9adeb451c /navit/event.h | |
parent | 8e6171f90d4fbdcba7e0b47f130609f9c912d0bc (diff) | |
download | navit-svn-8510a91c3f9af8b007f0d6ba44871746586d9d33.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 fb0c37d4..db6675ae 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 } |