]> git.ipfire.org Git - thirdparty/fcron.git/commitdiff
added mail_notrun() and change_user() (used in database.c and job.c)
authorThibault Godouet <yo8192@users.noreply.github.com>
Tue, 30 Jan 2001 15:51:46 +0000 (15:51 +0000)
committerThibault Godouet <yo8192@users.noreply.github.com>
Tue, 30 Jan 2001 15:51:46 +0000 (15:51 +0000)
fcron.h

diff --git a/fcron.h b/fcron.h
index 58ae83b907e4530d461dc23592b76dd39e0979cc..069bfe733c8ef9cbb757011d7cdbe4cac60fc740 100644 (file)
--- a/fcron.h
+++ b/fcron.h
@@ -21,7 +21,7 @@
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: fcron.h,v 1.16 2001-01-27 15:39:19 thib Exp $ */
+ /* $Id: fcron.h,v 1.17 2001-01-30 15:51:46 thib Exp $ */
 
 #ifndef __FCRONH__
 #define __FCRONH__
@@ -112,6 +112,7 @@ extern time_t time_to_sleep(time_t lim);
 extern time_t check_lavg(time_t lim);
 extern void set_next_exe(CL *line, char option);
 extern void set_next_exe_notrun(CL *line, char context);
+extern void mail_notrun(CL *line, char context, struct tm *since);
 extern void insert_nextexe(CL *line);
 extern void add_serial_job(CL *line);
 extern void add_lavg_job(CL *line);
@@ -126,6 +127,7 @@ extern void save_file(CF *file_name);
 /* end of conf.c */
 
 /* job.c */
+extern int change_user(char *user_name);
 extern void run_job(struct exe *exeent);
 extern int create_mail(CL *line, char *subject);
 extern void xwrite(int fd, char *string);