Revision 9634d903 slirp/misc.h

b/slirp/misc.h
12 12
	int ex_pty;			/* Do we want a pty? */
13 13
	int ex_addr;			/* The last byte of the address */
14 14
	int ex_fport;                   /* Port to telnet to */
15
	char *ex_exec;                  /* Command line of what to exec */
15
	const char *ex_exec;            /* Command line of what to exec */
16 16
	struct ex_list *ex_next;
17 17
};
18 18

  
19 19
extern struct ex_list *exec_list;
20
extern u_int curtime, time_fasttimo, last_slowtimo, detach_time, detach_wait;
20
extern u_int curtime, time_fasttimo, last_slowtimo;
21 21

  
22 22
extern int (*lprint_print) _P((void *, const char *, va_list));
23 23
extern char *lprint_ptr, *lprint_ptr2, **lprint_arg;
......
74 74
inline  void slirp_remque  _P((void *));
75 75
int add_exec _P((struct ex_list **, int, char *, int, int));
76 76
int slirp_openpty _P((int *, int *));
77
int fork_exec _P((struct socket *, char *, int));
77
int fork_exec(struct socket *so, const char *ex, int do_pty);
78 78
void snooze_hup _P((int));
79 79
void snooze _P((void));
80 80
void relay _P((int));

Also available in: Unified diff