Deleted Added
full compact
cron.h (129280) cron.h (149430)
1/* Copyright 1988,1990,1993,1994 by Paul Vixie
2 * All rights reserved
3 *
4 * Distribute freely, except: don't remove my name from the source or
5 * documentation (don't take credit for my work), mark your changes (don't
6 * get me blamed for your possible bugs), don't alter or remove this
7 * notice. May be sold if buildable source is provided to buyer. No
8 * warrantee of any kind, express or implied, is included with this
9 * software; use at your own risk, responsibility for damages (if any) to
10 * anyone resulting from the use of this software rests entirely with the
11 * user.
12 *
13 * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
14 * I'll try to keep a version up to date. I can be reached as follows:
15 * Paul Vixie <paul@vix.com> uunet!decwrl!vixie!paul
16 */
17
18/* cron.h - header for vixie's cron
19 *
1/* Copyright 1988,1990,1993,1994 by Paul Vixie
2 * All rights reserved
3 *
4 * Distribute freely, except: don't remove my name from the source or
5 * documentation (don't take credit for my work), mark your changes (don't
6 * get me blamed for your possible bugs), don't alter or remove this
7 * notice. May be sold if buildable source is provided to buyer. No
8 * warrantee of any kind, express or implied, is included with this
9 * software; use at your own risk, responsibility for damages (if any) to
10 * anyone resulting from the use of this software rests entirely with the
11 * user.
12 *
13 * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
14 * I'll try to keep a version up to date. I can be reached as follows:
15 * Paul Vixie <paul@vix.com> uunet!decwrl!vixie!paul
16 */
17
18/* cron.h - header for vixie's cron
19 *
20 * $FreeBSD: head/usr.sbin/cron/cron/cron.h 129280 2004-05-16 19:29:33Z yar $
20 * $FreeBSD: head/usr.sbin/cron/cron/cron.h 149430 2005-08-24 17:51:36Z pjd $
21 *
22 * vix 14nov88 [rest of log is in RCS]
23 * vix 14jan87 [0 or 7 can be sunday; thanks, mwm@berkeley]
24 * vix 30dec86 [written]
25 */
26
27/* reorder these #include's at your peril */
28
29#include <sys/types.h>
30#include <sys/param.h>
31#include "compat.h"
32
33#include <bitstring.h>
34#include <ctype.h>
35#include <err.h>
36#include <errno.h>
21 *
22 * vix 14nov88 [rest of log is in RCS]
23 * vix 14jan87 [0 or 7 can be sunday; thanks, mwm@berkeley]
24 * vix 30dec86 [written]
25 */
26
27/* reorder these #include's at your peril */
28
29#include <sys/types.h>
30#include <sys/param.h>
31#include "compat.h"
32
33#include <bitstring.h>
34#include <ctype.h>
35#include <err.h>
36#include <errno.h>
37#include <libutil.h>
37#include <pwd.h>
38#include <signal.h>
39#include <stdio.h>
40#include <time.h>
41#include <sys/wait.h>
42
43#include "pathnames.h"
44#include "config.h"

--- 160 unchanged lines hidden (view full) ---

205 job_add __P((entry *, user *)),
206 do_command __P((entry *, user *)),
207 link_user __P((cron_db *, user *)),
208 unlink_user __P((cron_db *, user *)),
209 free_user __P((user *)),
210 env_free __P((char **)),
211 unget_char __P((int, FILE *)),
212 free_entry __P((entry *)),
38#include <pwd.h>
39#include <signal.h>
40#include <stdio.h>
41#include <time.h>
42#include <sys/wait.h>
43
44#include "pathnames.h"
45#include "config.h"

--- 160 unchanged lines hidden (view full) ---

206 job_add __P((entry *, user *)),
207 do_command __P((entry *, user *)),
208 link_user __P((cron_db *, user *)),
209 unlink_user __P((cron_db *, user *)),
210 free_user __P((user *)),
211 env_free __P((char **)),
212 unget_char __P((int, FILE *)),
213 free_entry __P((entry *)),
213 acquire_daemonlock __P((int)),
214 skip_comments __P((FILE *)),
215 log_it __P((char *, int, char *, char *)),
216 log_close __P((void));
217
218int job_runqueue __P((void)),
219 set_debug_flags __P((char *)),
220 get_char __P((FILE *)),
221 get_string __P((char *, int, FILE *, char *)),

--- 62 unchanged lines hidden (view full) ---

284extern char *copyright[],
285 *MonthNames[],
286 *DowNames[],
287 *ProgramName;
288extern int LineNumber;
289extern unsigned Jitter,
290 RootJitter;
291extern time_t TargetTime;
214 skip_comments __P((FILE *)),
215 log_it __P((char *, int, char *, char *)),
216 log_close __P((void));
217
218int job_runqueue __P((void)),
219 set_debug_flags __P((char *)),
220 get_char __P((FILE *)),
221 get_string __P((char *, int, FILE *, char *)),

--- 62 unchanged lines hidden (view full) ---

284extern char *copyright[],
285 *MonthNames[],
286 *DowNames[],
287 *ProgramName;
288extern int LineNumber;
289extern unsigned Jitter,
290 RootJitter;
291extern time_t TargetTime;
292extern struct pidfh *pfh;
292# if DEBUGGING
293extern int DebugFlags;
294extern char *DebugFlagNames[];
295# endif /* DEBUGGING */
296#endif /*MAIN_PROGRAM*/
293# if DEBUGGING
294extern int DebugFlags;
295extern char *DebugFlagNames[];
296# endif /* DEBUGGING */
297#endif /*MAIN_PROGRAM*/