From e7b3fefb25b12e0fecc3ad7428c5b1e502e8a413 Mon Sep 17 00:00:00 2001 From: thib Date: Sat, 2 Mar 2002 17:24:22 +0000 Subject: [PATCH] added dyndom.h support --- fcrondyn.h | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/fcrondyn.h b/fcrondyn.h index ea336e8..d52d108 100644 --- a/fcrondyn.h +++ b/fcrondyn.h @@ -21,20 +21,29 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: fcrondyn.h,v 1.1 2002-02-25 18:40:29 thib Exp $ */ + /* $Id: fcrondyn.h,v 1.2 2002-03-02 17:24:22 thib Exp $ */ #ifndef __FCRONDYN_H__ #define __FCRONDYN_H__ #include "global.h" -#include "socket.h" +#include "dyncom.h" /* global variables */ extern char debug_opt; extern char dosyslog; -extern char *user; -extern uid_t uid; -extern uid_t asuid; -extern uid_t fcrondyn_uid; +extern pid_t daemon_pid; + + +/* types def */ +#define MAX_NUM_OPT 4 +typedef struct cmd_list_ent { + char *cmd_name; + char *cmd_desc; + int cmd_numopt; + int cmd_code; + int cmd_opt[MAX_NUM_OPT]; + int cmd_default[MAX_NUM_OPT]; +} cmd_list_ent; #endif /* __FCRONDYN_H__ */ -- 2.40.0