#include <glib.h>
#include <pthread.h>
#include "core.h"
#include "hook.h"
Go to the source code of this file.
|
static pthread_mutex_t | mutex = PTHREAD_MUTEX_INITIALIZER |
|
static GHashTable * | hooks |
|
EXPORT void hook_associate |
( |
const char * |
name, |
|
|
HookFunction |
func, |
|
|
void * |
user |
|
) |
| |
EXPORT void hook_call |
( |
const char * |
name, |
|
|
void * |
data |
|
) |
| |
Definition at line 98 of file hook.c.
Referenced by add_finish(), audacious_rc_toggle_aot(), do_autosave(), do_next(), drct_pause(), drct_quit(), drct_seek(), end_cb(), event_execute(), iface_plugin_set_current(), leading_zero_cb(), playback_play(), playback_restart(), playback_stop(), playlist_delete_selected(), playlist_entry_delete(), playlist_next_song(), playlist_prev_song(), playlist_set_active(), playlist_set_playing(), playlist_set_position(), send_requests(), show_numbers_cb(), and update().
EXPORT void hook_dissociate_full |
( |
const char * |
name, |
|
|
HookFunction |
func, |
|
|
void * |
user |
|
) |
| |
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER |
|
static |