MCAL data types
A Calendar Stream is the basis for any calendar
connection. the values in the structure are all
internal and should not be accessed directly.
CALSTREAM {
const CALDRIVER *driver;
CALADDR *addr;
void *data;
};
An event is the next most commonly used object. It
has the following structure elements.
CALEVENT {
unsigned long id;
bool public;
datetime_t start;
datetime_t end;
char *category;
char *title;
char *description;
long alarm;
};
The datetime_t structure consists of:
typedef struct datetime
{
bool has_date; /* has a date value */
int year; /* year */
int mon; /* month */
int mday; /* day of month */
bool has_time; /* has a time value */
int hour; /* hour */
int min; /* minute */
int sec; /* second */
} datetime_t;
Mark Musone
Andrew Skalski
Bob Allen
Last modified date: Sun 11/28/1999 03:36:10 am
Site Hosting By: