diff options
author | waker <wakeroid@gmail.com> | 2009-08-26 15:21:39 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-26 15:21:39 +0200 |
commit | 3f8e973b1272bde41b5387ef4b83789d54a56557 (patch) | |
tree | dd89e900f320139d49fb239b0f64e45416e693ed /plugins.c | |
parent | 66e87af1c9920b828ae959d69bd1f0b2517a1b2d (diff) |
added threading functions to plugin api
Diffstat (limited to 'plugins.c')
-rw-r--r-- | plugins.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -11,6 +11,8 @@ #include "md5/md5.h" #include "messagepump.h" #include "messages.h" +#include "threading.h" +#include "progress.h" // deadbeef api DB_functions_t deadbeef_api = { @@ -27,6 +29,11 @@ DB_functions_t deadbeef_api = { .playback_stop = plug_playback_stop, .playback_play = plug_playback_play, .quit = plug_quit, + .thread_start = thread_start, + .mutex_create = mutex_create, + .mutex_free = mutex_free, + .mutex_lock = mutex_lock, + .mutex_unlock = mutex_unlock, }; void |