]> granicus.if.org Git - fcron/commitdiff
*** empty log message ***
authorthib <thib>
Mon, 28 Aug 2000 17:59:15 +0000 (17:59 +0000)
committerthib <thib>
Mon, 28 Aug 2000 17:59:15 +0000 (17:59 +0000)
Makefile.in
fcron.h

index 2bea3b109a7d77b6d4340dac2abbd88ab0872e9d..735d6b7d9eece618c4409d1289b5ec5e173529b5 100644 (file)
@@ -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 3484663e1b55d3fd54b98b6a7a863f4444f86ca7..923461791d04bd742225a7f15eb1f46235671259 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.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 */