#ifndef _HOOKS_H_ #define _HOOKS_H_ gboolean check_update_hooks(TrayApplet *un); void hook_tray_icon_init(TrayApplet *un); typedef struct _HookFile HookFile; struct _HookFile { char *filename; time_t mtime; guint8 md5[16]; gboolean cmd_run; gboolean seen; }; typedef struct _HookTrayAppletPrivate HookTrayAppletPrivate; struct _HookTrayAppletPrivate { GtkBuilder *gtk_builder; // the list of all hook files GList *hook_files; // the notification NotifyNotification *active_notification; }; #endif