From: Thibault Godouet Date: Mon, 28 Aug 2000 17:59:15 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: ver2_9_4~622 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a853538684f0c9774c67398a24a2fa76cf363d30;p=thirdparty%2Ffcron.git *** empty log message *** --- diff --git a/Makefile.in b/Makefile.in index 2bea3b1..735d6b7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -2,7 +2,7 @@ # fcron's Makefile ######## ############################ -# $Id: Makefile.in,v 1.23 2000-08-22 18:01:41 thib Exp $ +# $Id: Makefile.in,v 1.24 2000-08-28 18:00:24 thib Exp $ # ********************************************************* # # *** Begin of configurable stuffs ************************ # @@ -26,11 +26,10 @@ ETC=/etc/ # -DDEBUG even more verbose # -DCHECKJOBS send a mail containing the exact shell command # for each execution of each job. -#OPTIM= -DDEBUG -g -DFOREGROUND -#OPTIM= -DDEBUG -DCHECKJOBS -Wall -Wpointer-arith -Wstrict-prototypes +OPTIM= -DDEBUG -g -DFOREGROUND #OPTIM= -DDEBUG -g -DCHECKJOBS -Wall -Wpointer-arith -Wstrict-prototypes #OPTIM= -DDEBUG -Wall -Wpointer-arith -Wstrict-prototypes -OPTIM= -O2 -Wall +#OPTIM= -O2 -Wall #OPTIM= -O3 -mcpu=i686 -Wall @@ -68,8 +67,8 @@ VERSION= 0.9.1 CFLAGS= $(INCLUDE) $(OPTIM) $(OTHERFLAGS) $(OPTION) -DVERSION=\"$(VERSION)\" -DFCRONTABS=\"$(FCRONTABS)\" -DETC=\"$(ETC)\" OBJSD = fcron.o subs.o database.o job.o log.o conf.o OBJS= fcrontab.o fileconf.o subs.o log.o allow.c -HEADERSD = fcron.h config.h global.h Makefile -HEADERS = fcrontab.h config.h global.h Makefile +HEADERSD = fcron.h config.h global.h Makefile option.h +HEADERS = fcrontab.h config.h global.h Makefile option.h # this is two regular expressions RCSNOLOG=.*\(.html\|VERSION\|MANIFEST\) diff --git a/fcron.h b/fcron.h index 3484663..9234617 100644 --- a/fcron.h +++ b/fcron.h @@ -21,7 +21,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: fcron.h,v 1.9 2000-06-21 09:48:58 thib Exp $ */ + /* $Id: fcron.h,v 1.10 2000-08-28 17:59:15 thib Exp $ */ #ifndef __FCRONH__ #define __FCRONH__ @@ -54,6 +54,9 @@ extern short int serial_running; extern struct CL **exe_array; extern short int exe_array_size; extern short int exe_num; +extern struct lavg *lavg_array; +extern short int lavg_array_size; +extern short int lavg_num; /* end of global variables */ @@ -87,9 +90,11 @@ extern void test_jobs(time_t t2); extern void wait_chld(void); extern void wait_all(int *counter); 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 is_new_line); extern void insert_nextexe(CL *line); extern void add_serial_job(CL *line); +extern void add_lavg_job(CL *line); extern void run_serial_job(void); /* end of database.c */