home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
x
/
volume10
/
boss
/
part01
/
calentool.h
next >
Wrap
C/C++ Source or Header
|
1990-10-18
|
2KB
|
58 lines
/************************************************************************/
/* Copyright 1990 by Chuck Musciano and Harris Corporation */
/* */
/* Permission to use, copy, modify, and distribute this software */
/* and its documentation for any purpose and without fee is */
/* hereby granted, provided that the above copyright notice */
/* appear in all copies and that both that copyright notice and */
/* this permission notice appear in supporting documentation, and */
/* that the name of Chuck Musciano and Harris Corporation not be */
/* used in advertising or publicity pertaining to distribution */
/* of the software without specific, written prior permission. */
/* Chuck Musciano and Harris Corporation make no representations */
/* about the suitability of this software for any purpose. It is */
/* provided "as is" without express or implied warranty. */
/* */
/* This code contains data and information that is proprietary */
/* to Casio Corporation. You may be subject to legal action if */
/* this information is released without explicit permission from */
/* Casio. */
/************************************************************************/
/************************************************************************/
/* */
/* calentool.h definitions for using calentool files */
/* */
/************************************************************************/
#define LINE_COMMENT 0
#define LINE_APPOINTMENT 1
#define LINE_BLANK 2
#define SUNDAY -1
#define MONDAY -2
#define TUESDAY -3
#define WEDNESDAY -4
#define THURSDAY -5
#define FRIDAY -6
#define SATURDAY -7
#define WILDCARD -8
typedef struct c_rec calen;
struct c_rec {int kind;
int year;
int month;
int day;
int hour;
int minute;
int length;
int repeat;
char *interval;
char *warning;
char *message;
calen *next;
};
PUBLIC calen *load_calentool();