1 /* $XConsortium: reminder.h /main/4 1995/11/09 12:48:37 rswiston $ */
3 * (c) Copyright 1993, 1994 Hewlett-Packard Company
4 * (c) Copyright 1993, 1994 International Business Machines Corp.
5 * (c) Copyright 1993, 1994 Novell, Inc.
6 * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
13 #include "EUSCompat.h"
18 typedef struct _RemInfo {
19 boolean_t isentry; /* entry vs appt */
20 time_t runtime; /* run time of reminder */
22 time_t lasttick; /* lasttick of a repeating event */
27 } data; /* associated entry */
29 Attr_4 *a; /* v4 reminder structure */
30 int i; /* index of attribute name */
31 } rem; /* associated reminder info */
32 struct _RemInfo *next; /* next reminder */
35 typedef struct _RemQueue {
38 int *aindex; /* array of attribute index */
39 char **names; /* array of names */
40 _DtCmsRemInfo **active; /* array of unexpired reminders */
41 _DtCmsRemInfo **oldhead; /* head of old reminders list */
44 typedef struct reminder_q {
49 struct reminder_q *next;
52 extern void _DtCmsAddReminderV4 P((Rm_que **qhead, Rm_que *p_reminder));
54 extern Rm_que *_DtCmsRemoveReminderV4 P((
59 extern Rm_que *build_reminder P((
66 extern Reminder_4 *_DtCmsGetReminderInfoV4 P((Rm_que *original));
68 extern void _DtCmsPrintReminderListV4 P((Rm_que *qhead));
70 extern void _DtCmsObsoleteReminderV4 P((
74 boolean_t delforward));
76 extern void _DtCmsAddReminders4Entry P((
77 _DtCmsRemQueue **qhead,
81 extern void _DtCmsObsoleteReminder4Entry P((
82 _DtCmsRemQueue *qhead,
88 extern CSA_return_code _DtCmsLookupReminder P((
93 cms_reminder_ref **rems));
95 extern void _DtCmsFreeReminderRef P((cms_reminder_ref *rems));
97 extern void _DtCmsUpdateReminders(_DtCmsRemQueue *remq);