diff options
author | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-06-13 15:41:38 +0000 |
---|---|---|
committer | gotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2> | 2007-06-13 15:41:38 +0000 |
commit | 6dc9d363f149eebe9fd5a0c7c7e9761e09cca9c5 (patch) | |
tree | b15a43d6855d941c1a38a2c8c19b9df36ff7974b /action.h | |
parent | 7da191e7673d26b2b1573546a81a2594b0a57774 (diff) | |
download | dzen-6dc9d363f149eebe9fd5a0c7c7e9761e09cca9c5.tar.gz dzen-6dc9d363f149eebe9fd5a0c7c7e9761e09cca9c5.zip |
warnings
git-svn-id: http://dzen.googlecode.com/svn/trunk@88 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'action.h')
-rw-r--r-- | action.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,6 +10,7 @@ /* Event, Action data structures */ typedef struct AS As; typedef struct _ev_list ev_list; +typedef int (* handlerf)(char **); enum ev_id { /* startup, exit */ @@ -51,7 +52,7 @@ struct AS { /* utility functions */ void do_action(long); int get_ev_id(char *); -void * get_action_handler(char *); +handlerf get_action_handler(char *); void fill_ev_table(char *); void free_event_list(void); int find_event(long); |