hook.h File Reference

#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 Documentation

typedef void(* HookFunction)(gpointer hook_data, gpointer user_data)

Definition at line 25 of file hook.h.


Function Documentation

gint hook_associate ( const gchar *  name,
HookFunction  func,
gpointer  user_data 
)
void hook_call ( const gchar *  name,
gpointer  hook_data 
)
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 
)

Definition at line 125 of file hook.c.

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().


Generated on 26 Jan 2012 for Audacious by  doxygen 1.6.1