aboutsummaryrefslogblamecommitdiffstats
path: root/calendar/alarm.h
blob: 6bb5c1afa5ee438dbb413ebf0d1d62d991e8673a (plain) (tree)
1
2
3
4
5
6
7
8


               
                 
                       
 
                                                                                
 


                                                                                

      
#ifndef ALARM_H
#define ALARM_H

#include <time.h>
#include "pcs/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