"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 #ifndef ACTION_H
2 #define ACTION_H
3
4 struct _connection;
5
6 typedef enum
7 { ActionShell, ActionBeep, ActionImage, ActionImageReset } ActionType;
8
9 typedef struct _action Action;
10 struct _action {
11 ActionType type;
12 char *tag;
13 char *cmd;
14 };
15
16 void action_add(ActionType type, const char *tag, const char *cmd);
17 const Action *action_find(const char *s);
18 void action_perform(const Action *a, const struct _connection *c);
19
20 #endif /* ACTION_H */