summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 49a37931..d10f967d 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -626,6 +626,10 @@ typedef struct DB_plugin_s {
// it is called after all plugin's start method was executed
// can be NULL
int (*connect) (void);
+
+ // opposite of connect, will be called before stop, while all plugins are still
+ // in "started" state
+ int (*disconnect) (void);
// exec_cmdline may be called at any moment when user sends commandline to player
// can be NULL if plugin doesn't support commandline processing