aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm.h
blob: 2dc77e623b7d7470743298d51fa279ae1e448dd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef ALARM_H
#define ALARM_H

#include <time.h>
#include "calobj.h"

typedef void (*AlarmFunction)(time_t time, CalendarAlarm *which, void *closuse);

void      alarm_init    (void);
gboolean  alarm_add     (CalendarAlarm *alarm, AlarmFunction fn, void *closure);
int       alarm_kill    (void *closure);

#endif