Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$
Classes | Typedefs | Functions
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 playback_finalize(), and vis_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 main().

void hook_register ( const gchar *  name)

Definition at line 51 of file hook.c.

Referenced by hook_associate().