39
41
extern struct vev_base *mgt_evb;
42
extern unsigned d_flag;
43
extern int exit_status;
42
void mgt_run(int dflag, const char *T_arg);
43
extern pid_t mgt_pid, child_pid;
46
extern pid_t child_pid;
44
48
void mgt_stop_child(void);
48
void mgt_cli_setup(int fdi, int fdo, int verbose, const char *ident);
52
typedef void mgt_cli_close_f(void *priv);
53
void mgt_cli_setup(int fdi, int fdo, int verbose, const char *ident, mgt_cli_close_f *close_func, void *priv);
49
54
int mgt_cli_askchild(unsigned *status, char **resp, const char *fmt, ...);
50
55
void mgt_cli_start_child(int fdi, int fdo);
51
56
void mgt_cli_stop_child(void);
52
void mgt_cli_telnet(int dflag, const char *T_arg);
57
void mgt_cli_telnet(const char *T_arg);
58
void mgt_cli_master(const char *M_arg);
59
void mgt_cli_secret(const char *S_arg);
60
void mgt_cli_close_all(void);
55
63
void MCF_ParamSync(void);
56
64
void MCF_ParamInit(struct cli *);
57
65
void MCF_ParamSet(struct cli *, const char *param, const char *val);
67
void MCF_DumpMdoc(void);
60
71
void mgt_vcc_init(void);
61
int mgt_vcc_default(const char *bflag, char *vcl, int Cflag);
72
int mgt_vcc_default(const char *bflag, const char *f_arg, char *vcl, int Cflag);
62
73
int mgt_push_vcls_and_start(unsigned *status, char **p);
63
74
int mgt_has_vcl(void);
64
75
extern char *mgt_cc_cmd;