comparison src/audacious/hook.h @ 4557:2eee464379dc

Clean up header multiple inclusion guards (e.g. #ifndef FOO_H/#define FOO_H)
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 19 May 2008 01:29:46 +0300
parents f1c756f39e6c
children
comparison
equal deleted inserted replaced
4556:332d2992e04c 4557:2eee464379dc
15 * 15 *
16 * The Audacious team does not consider modular code linking to 16 * The Audacious team does not consider modular code linking to
17 * Audacious or using our public API to be a derived work. 17 * Audacious or using our public API to be a derived work.
18 */ 18 */
19 19
20 #ifndef __AUDACIOUS_HOOK_H__ 20 #ifndef AUDACIOUS_HOOK_H
21 #define __AUDACIOUS_HOOK_H__ 21 #define AUDACIOUS_HOOK_H
22 22
23 #include <glib.h> 23 #include <glib.h>
24 24
25 typedef void (*HookFunction)(gpointer hook_data, gpointer user_data); 25 typedef void (*HookFunction)(gpointer hook_data, gpointer user_data);
26 26
37 void hook_register(const gchar *name); 37 void hook_register(const gchar *name);
38 gint hook_associate(const gchar *name, HookFunction func, gpointer user_data); 38 gint hook_associate(const gchar *name, HookFunction func, gpointer user_data);
39 gint hook_dissociate(const gchar *name, HookFunction func); 39 gint hook_dissociate(const gchar *name, HookFunction func);
40 void hook_call(const gchar *name, gpointer hook_data); 40 void hook_call(const gchar *name, gpointer hook_data);
41 41
42 #endif 42 #endif /* AUDACIOUS_HOOK_H */