blob: 83e50c67753b808b7efe13f24af57ddd83a62899 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef CAL_CLIENT_ALARM_H_INCLUDED
#define CAL_CLIENT_ALARM_H_INCLUDED
#include <sys/time.h>
#include "cal-util/alarm-enums.h"
typedef int AlarmHandle;
/* these need to be replaced with something that does corba stuff */
time_t cal_client_alarm_get_trigger (AlarmHandle alarm);
enum AlarmType cal_client_alarm_get_type (AlarmHandle alarm);
void cal_client_alarm_set_type (AlarmHandle alarm, enum AlarmType type);
enum AlarmUnit cal_client_alarm_get_units (AlarmHandle alarm);
void cal_client_alarm_set_units (AlarmHandle alarm, enum AlarmUnit units);
int cal_client_alarm_get_count (AlarmHandle alarm);
void cal_client_alarm_set_count (AlarmHandle alarm, int count);
int cal_client_alarm_get_enabled (AlarmHandle alarm);
void cal_client_alarm_set_enabled (AlarmHandle alarm, int enabled);
char *cal_client_alarm_get_data (AlarmHandle alarm);
void cal_client_alarm_set_data (AlarmHandle alarm, char *data);
#endif /* CAL_CLIENT_ALARM_H_INCLUDED */
|