source: trunk/locker/cron/src/defs.h

Last change on this file was 359, checked in by quentin, 17 years ago
initial checkin of cron system
  • Property svn:keywords set to Revision
File size: 883 bytes
Line 
1
2/*
3 * DEFS.H
4 *
5 * Copyright 1994-1998 Matthew Dillon (dillon@backplane.com)
6 * May be distributed under the GNU General Public License
7 */
8
9#include <sys/types.h>
10#include <sys/stat.h>
11#include <sys/ioctl.h>
12#include <sys/wait.h>
13#include <sys/resource.h>
14#include <stdio.h>
15#include <stdlib.h>
16#include <stdarg.h>
17#include <string.h>
18#include <errno.h>
19#include <time.h>
20#include <dirent.h>
21#include <fcntl.h>
22#include <pwd.h>
23#include <unistd.h>
24#include <grp.h>
25#include <err.h>
26
27#define Prototype extern
28#define arysize(ary)    (sizeof(ary)/sizeof((ary)[0]))
29
30#ifndef SCRIPTS_CRONTABS
31#define SCRIPTS_CRONTABS        "/mit/scripts/cron/crontabs"
32#endif
33#ifndef TMPDIR
34#define TMPDIR          "/tmp"
35#endif
36#ifndef OPEN_MAX
37#define OPEN_MAX        256
38#endif
39
40#ifndef CRONUPDATE
41#define CRONUPDATE      "cron.update"
42#endif
43
44#ifndef MAXLINES
45#define MAXLINES        256             /* max lines in non-root crontabs */
46#endif
Note: See TracBrowser for help on using the repository browser.