From 3414bd8a8d6ec3e9f78143cf310d1731a0bf8cde Mon Sep 17 00:00:00 2001 From: thib Date: Sun, 29 Apr 2001 22:13:57 +0000 Subject: [PATCH] Initial revision --- fileconf.h | 0 job.h | 32 ++++++++++++++++++++++++++++++++ log.h | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 fileconf.h create mode 100644 job.h create mode 100644 log.h diff --git a/fileconf.h b/fileconf.h new file mode 100644 index 0000000..e69de29 diff --git a/job.h b/job.h new file mode 100644 index 0000000..10617da --- /dev/null +++ b/job.h @@ -0,0 +1,32 @@ +/* + * FCRON - periodic command scheduler + * + * Copyright 2000-2001 Thibault Godouet + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * The GNU General Public License can also be found in the file + * `LICENSE' that comes with the fcron source distribution. + */ + + /* $Id: job.h,v 1.1 2001-04-29 22:13:57 thib Exp $ */ + + +/* functions prototypes */ +extern int change_user(char *user_name); +extern void run_job(struct exe *exeent); +extern int create_mail(CL *line, char *subject); +extern void launch_mailer(CL *line, int mailfd); +extern void xwrite(int fd, char *string); diff --git a/log.h b/log.h new file mode 100644 index 0000000..dfdd5d9 --- /dev/null +++ b/log.h @@ -0,0 +1,38 @@ +/* + * FCRON - periodic command scheduler + * + * Copyright 2000-2001 Thibault Godouet + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * The GNU General Public License can also be found in the file + * `LICENSE' that comes with the fcron source distribution. + */ + + /* $Id: log.h,v 1.1 2001-04-29 22:14:13 thib Exp $ */ + + +/* functions prototypes */ +extern void xcloselog(void); +extern char *make_msg(char *fmt, va_list args); +extern void explain(char *fmt, ...); +extern void explain_e(char *fmt, ...); +extern void warn(char *fmt, ...); +extern void warn_e(char *fmt, ...); +extern void error(char *fmt, ...); +extern void error_e(char *fmt, ...); +extern void die(char *fmt, ...); +extern void die_e(char *fmt, ...); +extern void Debug(char *fmt, ...); -- 2.40.0