Changeset View
Changeset View
Standalone View
Standalone View
head/usr.bin/calendar/io.c
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | |||||
enum { | enum { | ||||
T_OK = 0, | T_OK = 0, | ||||
T_ERR, | T_ERR, | ||||
T_PROCESS, | T_PROCESS, | ||||
}; | }; | ||||
const char *calendarFile = "calendar"; /* default calendar file */ | const char *calendarFile = "calendar"; /* default calendar file */ | ||||
static const char *calendarHomes[] = {".calendar", _PATH_INCLUDE}; /* HOME */ | static const char *calendarHomes[] = {".calendar", _PATH_INCLUDE_LOCAL, _PATH_INCLUDE}; /* HOME */ | ||||
static const char *calendarNoMail = "nomail";/* don't sent mail if file exist */ | static const char *calendarNoMail = "nomail";/* don't sent mail if file exist */ | ||||
static char path[MAXPATHLEN]; | static char path[MAXPATHLEN]; | ||||
struct fixs neaster, npaskha, ncny, nfullmoon, nnewmoon; | struct fixs neaster, npaskha, ncny, nfullmoon, nnewmoon; | ||||
struct fixs nmarequinox, nsepequinox, njunsolstice, ndecsolstice; | struct fixs nmarequinox, nsepequinox, njunsolstice, ndecsolstice; | ||||
static int cal_parse(FILE *in, FILE *out); | static int cal_parse(FILE *in, FILE *out); | ||||
▲ Show 20 Lines • Show All 420 Lines • Show Last 20 Lines |