aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm.h
blob: 079eb79121981cb2633ba98c954a75ade8450a94 (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, void *closuse);

void alarm_init    (void);
void alarm_add     (time_t alarm_time, AlarmFunction fn, void *closure);
void alarm_kill    (void *closure);

#endif