home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
x
/
volume10
/
boss
/
part01
/
manifest.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-10-18
|
2KB
|
65 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. */
/************************************************************************/
/************************************************************************/
/* */
/* Various manifest definitions */
/* */
/************************************************************************/
#define strsave(x) ((char *) strcpy(malloc(strlen(x) + 1), x))
#define PRIVATE static
#define PUBLIC extern
#define EXPORT
#ifndef TRUE
#define TRUE 1
#define FALSE 0
#endif
#ifndef NULL
#define NULL 0
#endif
#define INVALID_TIME 255
#define CASIO_END_LINE '\015'
#define CASIO_END_ENTRY '\012'
typedef unsigned char byte;
typedef unsigned short word;
typedef struct t_rec time;
typedef struct d_rec date;
struct t_rec {byte hour;
byte minute;
};
struct d_rec {word year;
byte month;
byte day;
};
PUBLIC long ascii_to_long();
PUBLIC char **tokenize();