summaryrefslogtreecommitdiff
path: root/include/cedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cedit.h')
-rw-r--r--include/cedit.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/cedit.h b/include/cedit.h
index 856509f0c7f..a9305ceebcb 100644
--- a/include/cedit.h
+++ b/include/cedit.h
@@ -13,6 +13,7 @@
struct abuf;
struct expo;
+struct expo_action;
struct scene;
struct udevice;
struct video_priv;
@@ -63,6 +64,18 @@ int cedit_prepare(struct expo *exp, struct video_priv **vid_privp,
struct scene **scnp);
/**
+ * cedit_do_action() - Process an action on a cedit
+ *
+ * @exp: Expo to use
+ * @scn: Current scene
+ * @vid_priv: Private data for the video device
+ * @act: Action to process
+ * Return: 0 on success, -EAGAIN if there was no action taken
+ */
+int cedit_do_action(struct expo *exp, struct scene *scn,
+ struct video_priv *vid_priv, struct expo_action *act);
+
+/**
* cedit_write_settings() - Write settings in FDT format
*
* Sets up an FDT with the settings