aboutsummaryrefslogtreecommitdiff
path: root/src/action.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-11-24 16:43:35 +0100
committerFederico Angelilli <code@fedang.net>2024-11-24 16:43:35 +0100
commit30020a08392c959505bd27388564f7436a04bace (patch)
tree2cfdeb4da789c71e3400e05caf353fe0307a6836 /src/action.h
parent441c0b974d00c01fccbce4ebed61711b7b0eeec7 (diff)
Change action syntax
Diffstat (limited to 'src/action.h')
-rw-r--r--src/action.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/action.h b/src/action.h
index 02ca1b8..d1ca4b3 100644
--- a/src/action.h
+++ b/src/action.h
@@ -3,13 +3,14 @@
#include "config.h"
-//typedef enum {
-// ACTION_SET,
-// ACTION_RUN,
-//} action_type_t;
+typedef enum {
+ ACTION_TARGET,
+ ACTION_SET_PAIR,
+ ACTION_RUN_SCRIPT,
+} action_type_t;
typedef struct {
- //action_type_t type;
+ action_type_t type;
char *key;
char *value;
} action_part_t;