]> granicus.if.org Git - fcron/commitdiff
Initial revision
authorthib <thib>
Sun, 29 Apr 2001 22:13:57 +0000 (22:13 +0000)
committerthib <thib>
Sun, 29 Apr 2001 22:13:57 +0000 (22:13 +0000)
fileconf.h [new file with mode: 0644]
job.h [new file with mode: 0644]
log.h [new file with mode: 0644]

diff --git a/fileconf.h b/fileconf.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/job.h b/job.h
new file mode 100644 (file)
index 0000000..10617da
--- /dev/null
+++ b/job.h
@@ -0,0 +1,32 @@
+/*
+ * FCRON - periodic command scheduler 
+ *
+ *  Copyright 2000-2001 Thibault Godouet <fcron@free.fr>
+ *
+ *  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 (file)
index 0000000..dfdd5d9
--- /dev/null
+++ b/log.h
@@ -0,0 +1,38 @@
+/*
+ * FCRON - periodic command scheduler 
+ *
+ *  Copyright 2000-2001 Thibault Godouet <fcron@free.fr>
+ *
+ *  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, ...);