# @configure_input@
-# $Id: Makefile.in,v 1.75 2001-07-09 13:07:58 thib Exp $
+# $Id: Makefile.in,v 1.76 2001-09-12 13:47:56 thib Exp $
# The following should not be edited manually (use configure options)
# If you must do it, BEWARE : some of the following is also defined
HEADERSALL = config.h $(SRCDIR)/global.h $(SRCDIR)/log.h $(SRCDIR)/subs.h $(SRCDIR)/save.h $(SRCDIR)/option.h
HEADERSD = $(HEADERSALL) $(SRCDIR)/fcron.h $(SRCDIR)/getloadavg.h $(SRCDIR)/database.h $(SRCDIR)/conf.h $(SRCDIR)/job.h
HEADERS = $(HEADERSALL) $(SRCDIR)/fcrontab.h $(SRCDIR)/allow.h $(SRCDIR)/fileconf.h
-HEADERSCONV = $(HEADERSALL) $(SRCDIR)/convert-fcrontab.h
+HEADERSCONV = $(HEADERSALL)
HEADERSSIG = $(HEADERSALL) $(SRCDIR)/allow.h
# this is two regular expressions
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: conf.c,v 1.50 2001-08-20 10:58:13 thib Exp $ */
+ /* $Id: conf.c,v 1.51 2001-09-12 13:45:54 thib Exp $ */
#include "fcron.h"
+
#include "conf.h"
+#include "database.h"
int read_file(const char *file_name, CF *cf);
int add_line_to_file(CL *cl, CF *cf, uid_t runas, char *runas_str,
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: conf.h,v 1.2 2001-05-15 00:46:11 thib Exp $ */
+ /* $Id: conf.h,v 1.3 2001-09-12 13:46:04 thib Exp $ */
#ifndef __CONF_H__
#define __CONF_H__
extern void reload_all(const char *dir_name);
extern void synchronize_dir(const char *dir_name);
extern void delete_file(const char *user_name);
-extern void save_file(CF *file_name);
+extern void save_file(struct CF *file_name);
#endif /* __CONF_H__ */
* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: fcron.h,v 1.23 2001-05-29 19:27:55 thib Exp $ */
+ /* $Id: fcron.h,v 1.24 2001-09-12 13:44:58 thib Exp $ */
#ifndef __FCRON_H__
#define __FCRON_H__
extern mode_t saved_umask;
extern char *prog_name;
extern char sig_hup;
-extern CF *file_base;
+extern struct CF *file_base;
extern struct job *queue_base;
extern struct CL **serial_array;
extern short int serial_array_size;
/* fcron.c */
extern void xexit(int exit_value);
-#include "database.h"
-#include "conf.h"
-#include "job.h"
-
#endif /* __FCRON_H */
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "fcron.h"
-
+#ifndef _POSIX_SOURCE /* Don't redefine is already exists */
#define _POSIX_SOURCE 1
+#endif
+#include "fcron.h"
/* Local headers */