summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-06 14:32:31 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-06 14:32:31 +0200
commite41f4453e2c5311a0534643c4eeddfc4bb56dfe9 (patch)
tree273d6f7b7cd98d131e6f1a19de8967fc5dd46499 /deadbeef.h
parentbdc72d79ac75d88aedff946c778153492dadf471 (diff)
added is_local_file routine to plugin API
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 80508b8d..f2e774ab 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -483,6 +483,8 @@ typedef struct {
int (*plug_activate) (struct DB_plugin_s *p, int activate);
const char * (*plug_get_decoder_id) (const char *id);
void (*plug_remove_decoder_id) (const char *id);
+ // misc utilities
+ int (*is_local_file) (const char *fname); // returns 1 for local filename, 0 otherwise
} DB_functions_t;
// base plugin interface