#include <glib.h>
Go to the source code of this file.
Classes | |
struct | HookItem |
struct | Hook |
Typedefs | |
typedef void(* | HookFunction )(gpointer hook_data, gpointer user_data) |
Functions | |
void | hook_init (void) |
void | hook_register (const gchar *name) |
gint | hook_associate (const gchar *name, HookFunction func, gpointer user_data) |
gint | hook_dissociate (const gchar *name, HookFunction func) |
gint | hook_dissociate_full (const gchar *name, HookFunction func, gpointer user_data) |
void | hook_call (const gchar *name, gpointer hook_data) |
typedef void(* HookFunction)(gpointer hook_data, gpointer user_data) |
gint hook_associate | ( | const gchar * | name, | |
HookFunction | func, | |||
gpointer | user_data | |||
) |
Definition at line 68 of file hook.c.
Referenced by eq_init(), history_load(), load_playlists(), main(), mpris_signals_init(), mpris_tracklist_init(), playback_start(), and register_interface_hooks().
void hook_call | ( | const gchar * | name, | |
gpointer | hook_data | |||
) |
Definition at line 154 of file hook.c.
Referenced by audacious_rc_toggle_aot(), complete_stop(), do_autosave(), drct_quit(), end_cb(), event_execute(), iface_plugin_set_current(), leading_zero_cb(), playback_pause(), playback_seek(), playback_set_volume(), playback_start(), playlist_next_song(), playlist_prev_song(), playlist_set_active(), playlist_set_playing(), playlist_set_position(), show_numbers_cb(), shut_down(), sw_volume_toggled(), update(), and update_cb().
gint hook_dissociate | ( | const gchar * | name, | |
HookFunction | func | |||
) |
Definition at line 96 of file hook.c.
Referenced by mpris_signals_cleanup(), and playback_cleanup().
gint hook_dissociate_full | ( | const gchar * | name, | |
HookFunction | func, | |||
gpointer | user_data | |||
) |
void hook_init | ( | void | ) |
Definition at line 29 of file hook.c.
Referenced by init_two().
void hook_register | ( | const gchar * | name | ) |
Definition at line 51 of file hook.c.
Referenced by hook_associate().