* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: database.h,v 1.2 2001-05-15 00:48:58 thib Exp $ */
+ /* $Id: database.h,v 1.3 2001-09-12 13:49:02 thib Exp $ */
#ifndef __DATABASE_H__
#define __DATABASE_H__
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 option);
+extern void set_next_exe(struct CL *line, char option);
#define NO_GOTO 1 /* set_next_exe() : no goto_non_matching() */
#define NO_GOTO_LOG 2 /* set_next_exe() : NO_GOTO but also log nextexe time */
-extern void set_next_exe_notrun(CL *line, char context);
+extern void set_next_exe_notrun(struct CL *line, char context);
#define LAVG 1 /* set_next_exe_notrun() : context */
#define SYSDOWN 2 /* set_next_exe_notrun() : 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);
+#define QUEUE_FULL 3 /* set_next_exe_notrun() : context */
+extern void mail_notrun(struct CL *line, char context, struct tm *since);
+extern void insert_nextexe(struct CL *line);
+extern void add_serial_job(struct CL *line);
+extern void add_lavg_job(struct CL *line);
extern void run_serial_job(void);
#endif /* __DATABASE_H__ */