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

#include <time.h>

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

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

#endif