+2003-07-30 [alfons] 0.9.3claws79
+
+ * src/common/hooks[.ch]
+ const correctness
+
2003-07-30 [darko] 0.9.3claws78
* src/summaryview.c
make it compile again
2003-07-30 [luke] 0.9.3claws77
+
* src/crash.c
* src/main.c
o added/moved signal handlers for SIGTERM (normal kill command)
MICRO_VERSION=3
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=78
+EXTRA_VERSION=79
if test $EXTRA_VERSION -eq 0; then
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
else
static GHashTable *hooklist_table;
-GHookList *hooks_get_hooklist(gchar *hooklist_name)
+GHookList *hooks_get_hooklist(const gchar *hooklist_name)
{
GHookList *hooklist;
return hooklist;
}
-guint hooks_register_hook(gchar *hooklist_name,
+guint hooks_register_hook(const gchar *hooklist_name,
SylpheedHookFunction hook_func,
gpointer userdata)
{
return hook->hook_id;
}
-void hooks_unregister_hook(gchar *hooklist_name,
+void hooks_unregister_hook(const gchar *hooklist_name,
guint hook_id)
{
GHookList *hooklist;
}
}
-gboolean hooks_invoke(gchar *hooklist_name,
+gboolean hooks_invoke(const gchar *hooklist_name,
gpointer source)
{
GHookList *hooklist;
typedef gboolean (*SylpheedHookFunction) (gpointer source,
gpointer userdata);
-guint hooks_register_hook (gchar *hooklist_name,
+guint hooks_register_hook (const gchar *hooklist_name,
SylpheedHookFunction hook_func,
gpointer userdata);
-void hooks_unregister_hook (gchar *hooklist_name,
+void hooks_unregister_hook (const gchar *hooklist_name,
guint hook_id);
-gboolean hooks_invoke (gchar *hooklist_name,
+gboolean hooks_invoke (const gchar *hooklist_name,
gpointer source);
#endif /* HOOKS_H */