summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-07-29 06:51:15 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-07-29 06:51:15 +0200
commitc27c2b5cc332cd615b2ade47c92acbd2780e6eea (patch)
tree8e1e26bc9ab2fe4965f89253b476ffd070fd5c98 /deadbeef.h
parentd2fa3b7e96c74e929cc846c55317879e1aebfa10 (diff)
several typo/warning fixes in actions/shellexec and related code
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 0e900acf..e2eb8846 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -531,6 +531,10 @@ enum {
DB_ACTION_DISABLED = 1 << 4
};
+struct DB_plugin_action_s;
+
+typedef int (*DB_plugin_action_callback_t) (struct DB_plugin_action_s *action, DB_playItem_t *it);
+
typedef struct DB_plugin_action_s {
const char *title;
const char *name;
@@ -543,7 +547,7 @@ typedef struct DB_plugin_action_s {
* or NULL for common action
* @returns unused
*/
- int (*callback) (struct DB_plugin_action_s *action, DB_playItem_t *it);
+ DB_plugin_action_callback_t callback;
//we have linked list here
struct DB_plugin_action_s *next;