diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-11-11 18:51:31 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-11-11 18:51:31 +0000 |
commit | 710299574bf3ff3452c1d2c5cf5265b3a8718f54 (patch) | |
tree | b6728cc9a67cc8cd82ed409161d5ef435229b075 /navit/event.h | |
parent | 9f3e3aa7fa7735fefee728f79f578ebbf65c286f (diff) | |
download | navit-710299574bf3ff3452c1d2c5cf5265b3a8718f54.tar.gz |
Fix:vehicle_file:Converted to event system
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1721 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/event.h')
-rw-r--r-- | navit/event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/event.h b/navit/event.h index db6675aee..c31e8b77f 100644 --- a/navit/event.h +++ b/navit/event.h @@ -37,7 +37,7 @@ enum event_watch_cond { struct event_methods { void (*main_loop_run)(void); void (*main_loop_quit)(void); - struct event_watch *(*add_watch)(struct file *file, enum event_watch_cond cond, struct callback *cb); + struct event_watch *(*add_watch)(void *fd, enum event_watch_cond cond, struct callback *cb); void (*remove_watch)(struct event_watch *ev); struct event_timeout *(*add_timeout)(int timeout, int multi, struct callback *cb); void (*remove_timeout)(struct event_timeout *ev); @@ -50,7 +50,7 @@ struct event_methods { /* prototypes */ void event_main_loop_run(void); void event_main_loop_quit(void); -struct event_watch *event_add_watch(struct file *file, enum event_watch_cond cond, struct callback *cb); +struct event_watch *event_add_watch(void *fd, enum event_watch_cond cond, struct callback *cb); void event_remove_watch(struct event_watch *ev); struct event_timeout *event_add_timeout(int timeout, int multi, struct callback *cb); void event_remove_timeout(struct event_timeout *ev); |